diff --git a/web/src/components/Dashboard.tsx b/web/src/components/Dashboard.tsx index 9e60886..8a56f78 100644 --- a/web/src/components/Dashboard.tsx +++ b/web/src/components/Dashboard.tsx @@ -13,6 +13,7 @@ import { requestNotificationPermission } from '@/lib/notifications'; import { formatTime, formatDate } from '@/lib/format'; import { Plus, Clock, Bell, Keyboard, Sun, Moon, Settings, Eye, BarChart3, ListChecks, Cloud, CloudOff, Loader2 } from 'lucide-react'; import { useSync } from '@/lib/use-sync'; +import { isEnabled as isFlagEnabled } from '@/lib/feature-flags'; import { BUILT_IN_CATEGORIES, matchesCategory } from '@/lib/categories'; import Link from 'next/link'; import { FeedbackButton } from './FeedbackButton'; @@ -171,14 +172,16 @@ export function Dashboard() { > - - - + {isFlagEnabled('routines_disabled') ? null : ( + + + + )}