Hi Roger! Actually that line is ok, but thanks to your comment, I found other issue.
My import was:
import Info from './UserInfo.svelte';
import UserInfo from './UserInfo.svelte';
Because I was using it like so:
Hmm I think you just flipped my example. It's the same error. Regardless I'm glad to have helped and I'm glad I understood it. Both things I was dubious about when I commented.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.