Trying to fix some whack ass bugs
This commit is contained in:
@@ -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",
|
||||
|
@@ -51,7 +51,7 @@ const RootLayout = async ({
|
||||
{children}
|
||||
<NotificationsPermission />
|
||||
<LunchReminder />
|
||||
<Toaster richColors />
|
||||
<Toaster />
|
||||
</TVModeProvider>
|
||||
</ConvexClientProvider>
|
||||
</ThemeProvider>
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user