Trying to fix some whack ass bugs

This commit is contained in:
2025-09-17 16:08:28 -05:00
parent 92854382db
commit d4842fdacd
7 changed files with 45 additions and 62 deletions

View File

@@ -51,7 +51,7 @@ const RootLayout = async ({
{children}
<NotificationsPermission />
<LunchReminder />
<Toaster richColors />
<Toaster />
</TVModeProvider>
</ConvexClientProvider>
</ThemeProvider>

View File

@@ -21,6 +21,7 @@ export const LunchReminder = () => {
useEffect(() => {
const schedule = () => {
if (!lunchTime) return;
const ms = nextOccurrenceMs(lunchTime);
console.log('Ms = ', ms)
if (timeoutRef.current) clearTimeout(timeoutRef.current);