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

@@ -44,12 +44,12 @@
"tailwind-merge": "^3.3.1",
"typescript-eslint": "^8.44.0",
"vaul": "^1.1.2",
"zod": "^4.1.8"
"zod": "^4.1.9"
},
"devDependencies": {
"@eslint/eslintrc": "^3.3.1",
"@tailwindcss/postcss": "^4.1.13",
"@types/node": "^20.19.15",
"@types/node": "^20.19.16",
"@types/react": "^19.1.13",
"@types/react-dom": "^19.1.9",
"dotenv": "^16.6.1",

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);