From 9ab3207c5b0910cb9b2086e87153467ded5cabc6 Mon Sep 17 00:00:00 2001 From: happytomatoe <2893931+happytomatoe@users.noreply.github.com> Date: Tue, 17 Sep 2024 18:48:46 +0200 Subject: [PATCH] Forgot to add file to previous commit --- components/src/runbar.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/components/src/runbar.tsx b/components/src/runbar.tsx index e956503c9..3d01391da 100644 --- a/components/src/runbar.tsx +++ b/components/src/runbar.tsx @@ -30,8 +30,14 @@ export const Runbar = (props: { 2: [16, 1], 3: [16, 16666], 4: [16, 16666 * 30], + }; + + useEffect(() => { + updateSpeed(); + }, []); + useEffect(() => { updateSpeed(); }, [speedValue]);