Given this code
use leptos::prelude::*;
#[component]
pub fn App() -> impl IntoView {
let styles = styled::style!(
p {
background-color: red;
}
);
styled::view! { styles, <p>"Double count:"</p> }
}
I'm getting these errors:
├╴ expected Result<Style, Error>, found Result<Style, Error> rust-analyzer (E0308)
└╴ mismatched types
you can use `cargo tree` to explore your dependency tree
I have a fresh install of CSR leptops so I'm not really sure what's going wrong. I just followed the book.
Given this code
I'm getting these errors:
I have a fresh install of CSR leptops so I'm not really sure what's going wrong. I just followed the book.