Updates to search component

This commit is contained in:
Sean Edmunds
2025-09-02 17:13:15 -05:00
parent ef630adcbb
commit 93faf9b02a
9 changed files with 530 additions and 247 deletions

View File

@@ -8,7 +8,7 @@ import { useMutationAPI } from './useAPI';
export function useCommonHooks() {
const { mutateAsync } = useMutationAPI();
const isMobile = window.matchMedia('(max-width: 600px)').matches;
const [theme, setTheme] = useAtom(appTheme);
const [theme, setTheme] = useAtom<Theme>(appTheme);
const [themeName, setThemeName] = useLocalStorage<string>({
key: 'theme',
defaultValue: 'random',