Fix AppState imports

This commit is contained in:
Sam Becker 2024-02-22 23:12:29 -06:00
parent 4115140288
commit b87021973d
3 changed files with 3 additions and 3 deletions

View File

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

View File

@ -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';

View File

@ -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';