Update toast message to include remaining requests for the next 4 hours
This commit is contained in:
parent
00f9923ed7
commit
2f848de25b
@ -219,7 +219,7 @@ const HomeContent = () => {
|
|||||||
setRemainingRequests(remaining);
|
setRemainingRequests(remaining);
|
||||||
setResetTime(reset);
|
setResetTime(reset);
|
||||||
if (remaining !== null && remaining <= 3) {
|
if (remaining !== null && remaining <= 3) {
|
||||||
toast.warning(`You have ${remaining} requests remaining today.`);
|
toast.warning(`You have ${remaining} requests remaining for the next 4 hours.`);
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error("Error in O1 conversation:", error);
|
console.error("Error in O1 conversation:", error);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user