mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-07-19 12:03:37 +00:00
9 lines
277 B
TypeScript
9 lines
277 B
TypeScript
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>
|
|
}
|