From 9f0e03534133b720c608b6144a058065718340e5 Mon Sep 17 00:00:00 2001 From: Kalle <38327916+Sendouc@users.noreply.github.com> Date: Fri, 20 Mar 2026 19:42:12 +0200 Subject: [PATCH] Fix rotations not fetched in live env The checked made no sense as VITE_PROD_MODE is not set in prod and we already have a guard against running routines in dev (in entry.server.tsx) --- app/routines/syncSplatoonRotations.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/routines/syncSplatoonRotations.ts b/app/routines/syncSplatoonRotations.ts index a81fc0a77..556a6531c 100644 --- a/app/routines/syncSplatoonRotations.ts +++ b/app/routines/syncSplatoonRotations.ts @@ -8,8 +8,6 @@ export const SyncSplatoonRotationsRoutine = new Routine({ }); async function syncSplatoonRotations() { - if (import.meta.env.VITE_PROD_MODE !== "true") return; - const rotations = await fetchRotations(); await SplatoonRotationRepository.replaceAll(rotations); }