kbrgl / svelte-french-toast

🍞🥂 Buttery smooth toast notifications for Svelte
https://svelte-french-toast.vercel.app/
MIT License
809 stars 28 forks source link

Cannot convert undefined or null to object #20

Closed theetherGit closed 1 year ago

theetherGit commented 1 year ago

Cannot convert undefined or null to object TypeError: Cannot convert undefined or null to object at Function.assign () at eval (/node_modules/.pnpm/svelte-french-toast@1.0.3_svelte@3.55.0/node_modules/svelte-french-toast/components/ToastIcon.svelte:33:164) at Object.$$render (/node_modules/.pnpm/svelte@3.55.0/node_modules/svelte/internal/index.mjs:1876:22) at eval (/node_modules/.pnpm/svelte-french-toast@1.0.3_svelte@3.55.0/node_modules/svelte-french-toast/components/ToastBar.svelte:57:91) at Object.$$render (/node_modules/.pnpm/svelte@3.55.0/node_modules/svelte/internal/index.mjs:1876:22) at eval (/node_modules/.pnpm/svelte-french-toast@1.0.3_svelte@3.55.0/node_modules/svelte-french-toast/components/ToastWrapper.svelte:56:90) at Object.$$render (/node_modules/.pnpm/svelte@3.55.0/node_modules/svelte/internal/index.mjs:1876:22) at eval (/node_modules/.pnpm/svelte-french-toast@1.0.3_svelte@3.55.0/node_modules/svelte-french-toast/components/Toaster.svelte:50:101) at Module.each (/node_modules/.pnpm/svelte@3.55.0/node_modules/svelte/internal/index.mjs:1842:16) at Toaster.svelte:24:22

swyftycodes commented 1 year ago

I have the same issue. it only happens sometimes and seems like it's random if it happens or not

theetherGit commented 1 year ago

It wasn't random for me. I can reproduce it but i have to deploy my code first to do that and it's WIP so i'll drop the link when i'm done with breaking changes in my project.

kbrgl commented 1 year ago

@theetherGit Are you still facing this issue?

theetherGit commented 1 year ago

Not right now.