svelte-toasts
svelte-toasts copied to clipboard
`<ToastContainer>` was created with unknown prop
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
.
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?