main.rs
| 1 | // Leptos' empty `view! {}` (the "render nothing" idiom) expands to a unit |
| 2 | // expression, which trips these two lints on the macro-generated code. |
| 3 | #![allow(clippy::unit_arg, clippy::unused_unit)] |
| 4 | |
| 5 | mod api; |
| 6 | mod app; |
| 7 | mod cm; |
| 8 | mod components; |
| 9 | mod editor; |
| 10 | mod i18n; |
| 11 | mod icons; |
| 12 | mod passkey; |
| 13 | mod preview; |
| 14 | mod router; |
| 15 | mod theme; |
| 16 | mod uploads; |
| 17 | mod util; |
| 18 | mod views; |
| 19 | |
| 20 | fn main() { |
| 21 | console_error_panic_hook::set_once(); |
| 22 | leptos::mount::mount_to_body(app::App); |
| 23 | } |
| 24 |