Skip to content

Leptosfmt removes curly brackets when it really shouldn't #176

@EnderNon

Description

@EnderNon
leptosfmt.mp4

See in the video demonstrated above, it turns

Show when={move || reroll_value_cur.get()>0}>

into

<Show when=move || reroll_value_cur.get() > 0>

Missing the curly brackets here makes the inequality check (>0) not be detected properly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions