Use JSX for toaster message

pull/5370/head
David Disu 3 years ago committed by yann300
parent 90fdf5e595
commit 68ef3628b6
  1. 2
      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) {

Loading…
Cancel
Save