mirror of
https://github.com/pompurin404/mihomo-party.git
synced 2024-11-16 03:32:17 +08:00
keep order
This commit is contained in:
parent
2a4822f81c
commit
478f9013fc
|
@ -57,6 +57,10 @@ const App: React.FC = () => {
|
|||
const location = useLocation()
|
||||
const page = useRoutes(routes)
|
||||
|
||||
useEffect(() => {
|
||||
setOrder(siderOrder)
|
||||
}, [siderOrder])
|
||||
|
||||
useEffect(() => {
|
||||
setTheme(appTheme)
|
||||
}, [appTheme])
|
||||
|
|
Loading…
Reference in New Issue
Block a user