From fbb2612f7759e7cf91b13cb750bf843264d5ef1b Mon Sep 17 00:00:00 2001 From: Timo Lins Date: Sun, 5 Sep 2021 15:04:41 +0200 Subject: [PATCH] Add missing import to example --- site/pages/docs/toast-bar.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/pages/docs/toast-bar.mdx b/site/pages/docs/toast-bar.mdx index 599c46a..9974066 100644 --- a/site/pages/docs/toast-bar.mdx +++ b/site/pages/docs/toast-bar.mdx @@ -30,7 +30,7 @@ You can add a **render function to the ToastBar to modify its content**. An obje In this example we add a basic dismiss button to all toasts, except if the loading one. ```jsx -import { Toaster, ToastBar } from 'react-hot-toast'; +import { toast, Toaster, ToastBar } from 'react-hot-toast'; {(t) => (