From 90c7643951e7e4e1748a5d61b847c84e21d2a6d2 Mon Sep 17 00:00:00 2001 From: mesqueeb Date: Tue, 4 Jun 2024 12:58:11 +0900 Subject: [PATCH] fix: issues on production in host apps --- packages/utils/src/internal/storeSplit.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/utils/src/internal/storeSplit.ts b/packages/utils/src/internal/storeSplit.ts index 229faf41..39a2efa1 100644 --- a/packages/utils/src/internal/storeSplit.ts +++ b/packages/utils/src/internal/storeSplit.ts @@ -1,6 +1,7 @@ import { isAnyObject } from 'is-what' -export const storeSplitSymbol = Symbol('storeSplit') +/** Using an actual symbol causes issues in production host apps for whatever reason... */ +export const storeSplitSymbol = 'MAGNETAR_SYMBOL_storeSplit' /** * A storeSplit function allows you to apply a different payload between your cache store vs your other stores.