You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will cause svelte to trigger a console warning if in development mode.
There is no trivial way to disable this locally as of writing this. There is an ongoing discussion in the svelte repo where people is wishing for an option to disable this.
Even if we were able to disable this warning, I think it is still an issue that the item gets these props when there's nothing the component does with them. I think the best solution here would be to not add the props in the first place.
The text was updated successfully, but these errors were encountered:
Warning comes when using a bullet list.
The Issue is that your component defaultListItem does not have the prop portableText present:
svelte-portabletext/src/lib/defaultComponents/DefaultListItem.svelte
Line 1 in 63d0125
This will cause svelte to trigger a console warning if in development mode.
There is no trivial way to disable this locally as of writing this. There is an ongoing discussion in the svelte repo where people is wishing for an option to disable this.
Even if we were able to disable this warning, I think it is still an issue that the item gets these props when there's nothing the component does with them. I think the best solution here would be to not add the props in the first place.
The text was updated successfully, but these errors were encountered: