keep order

This commit is contained in:
pompurin404 2024-08-14 17:39:57 +08:00
parent 2a4822f81c
commit 478f9013fc
No known key found for this signature in database

View File

@ -57,6 +57,10 @@ const App: React.FC = () => {
const location = useLocation()
const page = useRoutes(routes)
useEffect(() => {
setOrder(siderOrder)
}, [siderOrder])
useEffect(() => {
setTheme(appTheme)
}, [appTheme])