Skip to content

FnMut Clojure with thaw ui and leptos_dark #3221

Answered by gbj
bendo01 asked this question in Q&A
Discussion options

You must be logged in to vote

When I try to compile your repo, I get this error

error[E0277]: the trait bound `(): Into<leptos::Callback<MouseEvent>>` is not satisfied
   --> src/app.rs:68:5
    |
68  | /     view! {
69  | |         <ThemeProvider theme>
70  | |             <main class="min-h-screen w-full bg-transparent ">
71  | |                 <LoaderComponent />
...   |
84  | |                                 on_click=change_theme
    | |                                 -------- ------------ this tail expression is of type `()`
    | |                                 |
    | |                                 required by a bound introduced by this call
...   |
109 | |         </ThemeProvider>
110 | |     }
    | |…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@bendo01
Comment options

Answer selected by bendo01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants