Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

Commit

Permalink
apply fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
renardeinside committed Apr 23, 2024
1 parent 0bae07d commit 4c92273
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/counter.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ def render(self):
with button(on=On("click", self.state.increment), classes="btn btn-primary"):
text("Increment")
with button(
on=On("click", self.state.decrement),
classes="btn btn-secondary" if self.state.value.rx > 0 else "btn btn-secondary btn-disabled",
on=On("click", self.state.decrement),
classes="btn btn-secondary" if self.state.value.rx > 0 else "btn btn-secondary btn-disabled",
):
text("Decrement")
with div(classes="text-lg font-semibold text-center m-2"):
Expand Down

0 comments on commit 4c92273

Please sign in to comment.