Fix AppState imports
This commit is contained in:
parent
4115140288
commit
b87021973d
@ -10,7 +10,7 @@ import { useRouter } from 'next/navigation';
|
||||
import { useTheme } from 'next-themes';
|
||||
import { BiDesktop, BiMoon, BiSun } from 'react-icons/bi';
|
||||
import { IoInvertModeSharp } from 'react-icons/io5';
|
||||
import { useAppState } from '@/state';
|
||||
import { useAppState } from '@/state/AppState';
|
||||
|
||||
const LISTENER_KEYDOWN = 'keydown';
|
||||
const MINIMUM_QUERY_LENGTH = 2;
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
'use client';
|
||||
|
||||
import { getEscapePath } from '@/site/paths';
|
||||
import { useAppState } from '@/state';
|
||||
import { useAppState } from '@/state/AppState';
|
||||
import { useRouter, usePathname } from 'next/navigation';
|
||||
import { useEffect } from 'react';
|
||||
|
||||
|
||||
@ -4,8 +4,8 @@ import IconFullFrame from '@/site/IconFullFrame';
|
||||
import IconGrid from '@/site/IconGrid';
|
||||
import { PATH_ADMIN_PHOTOS, PATH_GRID } from '@/site/paths';
|
||||
import { BiLockAlt } from 'react-icons/bi';
|
||||
import { useAppState } from '@/state';
|
||||
import IconSearch from './IconSearch';
|
||||
import { useAppState } from '@/state/AppState';
|
||||
|
||||
export type SwitcherSelection = 'full-frame' | 'grid' | 'sets' | 'admin';
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user