[feat] use heroui + setup persistore + setup toast
todo: fix launchoption problem
This commit is contained in:
12
src/app/providers.tsx
Normal file
12
src/app/providers.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
"use client"
|
||||
import { HeroUIProvider } from "@heroui/react"
|
||||
import { ToastProvider } from "@heroui/toast"
|
||||
|
||||
export default function Providers({ children }: { children: React.ReactNode }) {
|
||||
return (
|
||||
<HeroUIProvider className="h-full bg-transparent">
|
||||
<ToastProvider toastOffset={10} placement="top-center" />
|
||||
{children}
|
||||
</HeroUIProvider>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user