From 3b046d941d1a9229181ab9d8c93955fe4dd22495 Mon Sep 17 00:00:00 2001 From: Masen Furer Date: Mon, 21 Aug 2023 15:05:30 -0700 Subject: [PATCH] Changes for reflex 0.2.5 (#138) --- clock/clock/clock.py | 4 ++-- qr-scanner/requirements.txt | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/clock/clock/clock.py b/clock/clock/clock.py index 46206c5c..7fe97d85 100644 --- a/clock/clock/clock.py +++ b/clock/clock/clock.py @@ -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. @@ -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: diff --git a/qr-scanner/requirements.txt b/qr-scanner/requirements.txt index 9b4d199b..4e22d85e 100644 --- a/qr-scanner/requirements.txt +++ b/qr-scanner/requirements.txt @@ -1,2 +1 @@ -# Temporary, until 0.2.5 is released -reflex @ git+https://github.com/reflex-dev/reflex@efefa757a01ae85369623ba6b45ed1dfb0957e64 +reflex>=0.2.5 \ No newline at end of file