diff --git a/app/leptosfmt.toml b/app/leptosfmt.toml new file mode 100644 index 0000000..7e0d980 --- /dev/null +++ b/app/leptosfmt.toml @@ -0,0 +1,5 @@ +max_width = 100 # Maximum width of each line +tab_spaces = 4 # Number of spaces per tab +indentation_style = "Auto" # "Tabs", "Spaces" or "Auto" +newline_style = "Auto" # "Unix", "Windows" or "Auto" +attr_value_brace_style = "WhenRequired" # "Always", "AlwaysUnlessLit", "WhenRequired" or "Preserve" diff --git a/app/src/app.rs b/app/src/app.rs index 0a761dc..0395f97 100644 --- a/app/src/app.rs +++ b/app/src/app.rs @@ -12,13 +12,13 @@ pub fn App() -> impl IntoView { view! { - - - - }/> - }/> - - + + + + }/> + }/> + + } } diff --git a/app/src/disassembler.rs b/app/src/disassembler.rs index da66f8d..1683214 100644 --- a/app/src/disassembler.rs +++ b/app/src/disassembler.rs @@ -36,39 +36,36 @@ fn MenuButton(item: MenuItem) -> impl IntoView { // }; view! { -