mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
feat: update appearance selector (#645)
This commit is contained in:
@ -6,12 +6,12 @@ import { useAppSelector } from "./store";
|
||||
import Loading from "./pages/Loading";
|
||||
import router from "./router";
|
||||
import * as storage from "./helpers/storage";
|
||||
import useApperance from "./hooks/useApperance";
|
||||
import useAppearance from "./hooks/useAppearance";
|
||||
|
||||
function App() {
|
||||
const { i18n } = useTranslation();
|
||||
const { locale, systemStatus } = useAppSelector((state) => state.global);
|
||||
useApperance();
|
||||
useAppearance();
|
||||
|
||||
useEffect(() => {
|
||||
locationService.updateStateWithLocation();
|
||||
|
Reference in New Issue
Block a user