Skip to content

Commit 5ca89d1

Browse files
committed
clean it
1 parent ec7ed1d commit 5ca89d1

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

apps/dashboard/app/demo/layout.tsx

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,13 @@ import { useCallback, useEffect, useState } from 'react';
2020
import { toast } from 'sonner';
2121
import { AnalyticsToolbar } from '@/app/(main)/websites/[id]/_components/analytics-toolbar';
2222
import { Logo } from '@/components/layout/logo';
23-
import { ThemeToggle } from '@/components/layout/theme-toggle';
2423
import { SignOutButton } from '@/components/layout/sign-out-button';
24+
import { ThemeToggle } from '@/components/layout/theme-toggle';
2525
import { NotificationsPopover } from '@/components/notifications/notifications-popover';
2626
import { Button } from '@/components/ui/button';
2727
import { ScrollArea } from '@/components/ui/scroll-area';
2828
import { cn } from '@/lib/utils';
29-
import {
30-
dynamicQueryFiltersAtom,
31-
isAnalyticsRefreshingAtom,
32-
} from '@/stores/jotai/filterAtoms';
29+
import { isAnalyticsRefreshingAtom } from '@/stores/jotai/filterAtoms';
3330

3431
const DEMO_WEBSITE_ID = 'OXmNQsViBT-FOS_wZCTHc';
3532
const DEMO_WEBSITE_URL = 'https://www.databuddy.cc';
@@ -248,9 +245,6 @@ interface MainLayoutProps {
248245

249246
export default function MainLayout({ children }: MainLayoutProps) {
250247
const [isRefreshing, setIsRefreshing] = useAtom(isAnalyticsRefreshingAtom);
251-
const [selectedFilters, setSelectedFilters] = useAtom(
252-
dynamicQueryFiltersAtom
253-
);
254248

255249
const handleRefresh = async () => {
256250
setIsRefreshing(true);

0 commit comments

Comments
 (0)