You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue I'm seeing is leptosfmt is adding a space () after the <!DOCTYPE html>. This then causes cargo fmt --all --check to fail due to the trailing whitespace. E.g, the example above becomes (note the trailing ):
Context
In leptos-0.7 we can (need to?) provide a custom "app shell". This typically looks something like:
See also many of the examples, e.g. the hackernews_axum example.
Bug
The issue I'm seeing is
) after the
):
leptosfmt
is adding a space (<!DOCTYPE html>
. This then causescargo fmt --all --check
to fail due to the trailing whitespace. E.g, the example above becomes (note the trailingIf I try running
cargo fmt
afterleptosfmt
, thenleptosfmt --check
fails because it expects the trailing whitespace.The text was updated successfully, but these errors were encountered: