Fix rotations not fetched in live env
Some checks are pending
E2E Tests / e2e (push) Waiting to run
Tests and checks on push / run-checks-and-tests (push) Waiting to run
Updates translation progress / update-translation-progress-issue (push) Waiting to run

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)
This commit is contained in:
Kalle 2026-03-20 19:42:12 +02:00
parent 011cf39dee
commit 9f0e035341

View File

@ -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);
}