All right.
Let's make sure that as soon as time left goes to zero or below, we display some simple text that says,
sorry, but this order has expired.
Now, the first thing on to do here, you'll notice that we had defaulted.
You state right here or time left, piece of state to empty string.
That doesn't make a lot of sense.
Let's have it.
Or give that thing a default value of just zero instead.
So now after it use effect, I'm going to add in a little check.
I got to say, if time left is less than zero.
Then let's return a div.
That says order expired.
Let's save look back over order expired.
Naturally, let's make sure that's not being displayed all the time.
So I'm gonna create yet another order.
So there's the timer.
And now as soon as it goes into the negatives, it should update and say order expired instead, just
make sure this thing works in a positive right here.
I got to let my timer count down and then come back in just a moment and we'll just make sure that,
yes, this thing does update appropriately.