From 69070cb66de53eb8e6f8f29c220f3779447550a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?nicole=20miko=C5=82ajczyk?= Date: Mon, 16 Jun 2025 23:10:37 +0200 Subject: [PATCH] pl-fe: not meant to be used here MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: nicole mikołajczyk --- packages/pl-fe/src/actions/pl-fe.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/pl-fe/src/actions/pl-fe.ts b/packages/pl-fe/src/actions/pl-fe.ts index 96f8c2a6b..6640a1973 100644 --- a/packages/pl-fe/src/actions/pl-fe.ts +++ b/packages/pl-fe/src/actions/pl-fe.ts @@ -2,7 +2,6 @@ import { createSelector } from 'reselect'; import * as v from 'valibot'; import { getHost } from 'pl-fe/actions/instance'; -import { NODE_ENV } from 'pl-fe/build-config'; import { plFeConfigSchema } from 'pl-fe/normalizers/pl-fe/pl-fe-config'; import KVStore from 'pl-fe/storage/kv-store'; import { useSettingsStore } from 'pl-fe/stores/settings'; @@ -40,7 +39,7 @@ const fetchPlFeConfig = (host: string | null) => if (features.frontendConfigurations) { return dispatch(fetchFrontendConfigurations()).then(data => { - const key = NODE_ENV === 'production' ? 'pl_fe' : 'pl_fe_dev'; + const key = 'pl_fe'; if (data[key]) { dispatch(importPlFeConfig(data[key], host)); return data[key];