From c2620d6093234a6e7d631d25867398c5e6e6cd9d Mon Sep 17 00:00:00 2001 From: David Disu Date: Mon, 30 May 2022 14:59:04 +0100 Subject: [PATCH] Use JSX for toaster message --- libs/remix-ui/toaster/src/lib/toaster.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/remix-ui/toaster/src/lib/toaster.tsx b/libs/remix-ui/toaster/src/lib/toaster.tsx index 22014d8f7f..571a0c4afa 100644 --- a/libs/remix-ui/toaster/src/lib/toaster.tsx +++ b/libs/remix-ui/toaster/src/lib/toaster.tsx @@ -49,7 +49,7 @@ export const Toaster = (props: ToasterProps) => { } }) } - }, [props.message, state.message]) + }, [props.message]) useEffect(() => { if (state.hiding) {