carloskiki / leptos-icons

An icon library for the leptos web framework
MIT License
84 stars 16 forks source link

Updating to leptos 0.4.6 and leptos_icons 0.0.15 breaks #19

Closed Grafcube closed 11 months ago

Grafcube commented 11 months ago

After updating my dependencies, I get this error everywhere I use an <Icon> component.

the trait bound `MaybeSignal<leptos_icons::Icon>: From<leptos_icons::CgIcon>` is not satisfied

I checked that all the versions and feature flags are correct (ssr and hydrate were removed right?) I have no idea how to fix this. I'm using icons in too many places so it would be tedious to go and remove it.

Any help is appreciated. TIA.

Grafcube commented 11 months ago

I figured it out. I was looking at the ssr-app example but the other example has the updated usage.