Updates to search component
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user