feat: 新版webui
This commit is contained in:
1 parent
afc9c7ed8d
commit
31c0c1f4bc
201 files changed
+18454
-3422
No files matched your search
@@ -0,0 +1,8 @@
|
||||
import { HeroUIProvider } from '@heroui/system'
|
||||
import { useNavigate } from 'react-router-dom'
|
||||
|
||||
export function Provider({ children }: { children: React.ReactNode }) {
|
||||
const navigate = useNavigate()
|
||||
|
||||
return <HeroUIProvider navigate={navigate}>{children}</HeroUIProvider>
|
||||
}
|
||||
Reference in new issue
Block a user