Skip to content

Commit bd6d062

Browse files
authored
fix(docs): example code in toast page (#5666)
1 parent 28c3306 commit bd6d062

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/docs/content/docs/components/toast.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ The `ToastProvider` must be added to the application before using the `addToast`
4747
import {HeroUIProvider} from '@heroui/react'
4848
import {ToastProvider} from "@heroui/toast";
4949

50-
export default function Providers({children}) {
50+
export function Providers({children}) {
5151
return (
5252
<HeroUIProvider>
5353
<ToastProvider />

0 commit comments

Comments
 (0)