Open cescoallegrini opened 2 years ago
Every time I start my app I get several warnings of this kind:
<ToastContainer> was created with unknown prop 'subscribe'
Reported props are subscribe, add, success, info, error, warning, clearAll, clearLast, getById, setDefaults.
subscribe
add
success
info
error
warning
clearAll
clearLast
getById
setDefaults
My setup is
__layout.svelte
<script lang="ts"> import { FlatToast, toasts, ToastContainer } from "svelte-toasts" // etc </script> <!-- etc --> <ToastContainer placement="bottom-right" {...toasts} let:data> <FlatToast {data} /> </ToastContainer>
Everything works properly but these warnings are kind of annoying, is there a way to at least hide them?
Every time I start my app I get several warnings of this kind:
Reported props are
subscribe
,add
,success
,info
,error
,warning
,clearAll
,clearLast
,getById
,setDefaults
.My setup is
__layout.svelte
Everything works properly but these warnings are kind of annoying, is there a way to at least hide them?