From d51144438ff67ffe8d20689af911c90989d7919e Mon Sep 17 00:00:00 2001 From: JCNoguera Date: Mon, 25 Mar 2024 14:34:17 +0100 Subject: [PATCH] fix: remove debris to fix nova build --- .../src/helpers/nova/hooks/useVisualizerTimer.ts | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 client/src/helpers/nova/hooks/useVisualizerTimer.ts diff --git a/client/src/helpers/nova/hooks/useVisualizerTimer.ts b/client/src/helpers/nova/hooks/useVisualizerTimer.ts deleted file mode 100644 index 1153ba831..000000000 --- a/client/src/helpers/nova/hooks/useVisualizerTimer.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { useConfigStore } from "~/features/visualizer-threejs/store"; - -export default function useVisualizerTimer() { - const initialTime = useConfigStore((state) => state.initialTime); - - return () => { - if (!initialTime) { - return 0; - } - - const currentTime = Date.now(); - const diff = (currentTime - initialTime) / 1_000; - - return diff; - }; -}