feat: refactor app state provider

This commit is contained in:
QiShaoXuan
2023-01-09 16:40:23 +08:00
parent 761345a226
commit 28b2943dc6
28 changed files with 423 additions and 163 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import { Button } from '@/ui/button';
import { Wrapper, Content } from '@/ui/layout';
import Loading from '@/components/loading';
import { usePageHelper } from '@/hooks/use-page-helper';
import { useAppState } from '@/providers/app-state-provider/context';
import { useAppState } from '@/providers/app-state-provider';
import { useEffect, useState } from 'react';
import { useTranslation } from 'react-i18next';
// import { Tooltip } from '@/ui/tooltip';