diff --git a/src/lib/util/offline-unleash-client.ts b/src/lib/util/offline-unleash-client.ts index ae5197bcca..70390b2e8a 100644 --- a/src/lib/util/offline-unleash-client.ts +++ b/src/lib/util/offline-unleash-client.ts @@ -19,7 +19,7 @@ export const mapFeaturesForBootstrap = ( features.map((feature) => ({ impressionData: false, ...feature, - variants: feature.variants.map((variant) => ({ + variants: (feature.variants || []).map((variant) => ({ overrides: [], ...variant, payload: variant.payload && {