Skip to content

Commit

Permalink
Changes for reflex 0.2.5 (#138)
Browse files Browse the repository at this point in the history
  • Loading branch information
masenf authored Aug 21, 2023
1 parent 87a6f60 commit 3b046d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions clock/clock/clock.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ async def tick(self):

# If the clock is running, tick again.
if self.running:
return self.tick
return State.tick

def flip_switch(self, running: bool):
"""Start or stop the clock.
Expand All @@ -88,7 +88,7 @@ def flip_switch(self, running: bool):

# Start the clock if the switch is on.
if self.running:
return self.tick
return State.tick


def clock_hand(rotation: str, color: str, length: str) -> rx.Component:
Expand Down
3 changes: 1 addition & 2 deletions qr-scanner/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
# Temporary, until 0.2.5 is released
reflex @ git+https://github.com/reflex-dev/reflex@efefa757a01ae85369623ba6b45ed1dfb0957e64
reflex>=0.2.5

0 comments on commit 3b046d9

Please sign in to comment.