main.rs
⎇
Raw
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
5mod api;
6mod app;
7mod cm;
8mod components;
9mod editor;
10mod i18n;
11mod icons;
12mod passkey;
13mod preview;
14mod router;
15mod theme;
16mod uploads;
17mod util;
18mod views;
19
20fn main() {
21 console_error_panic_hook::set_once();
22 leptos::mount::mount_to_body(app::App);
23}
24