From e71dd8fb77e1b5df4375d82cfda41f688fe8d90e Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Thu, 2 Dec 2021 12:27:59 +0000 Subject: [PATCH] Reset client features when selecting a new app --- packages/builder/src/builderStore/store/frontend.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/builder/src/builderStore/store/frontend.js b/packages/builder/src/builderStore/store/frontend.js index c94c759792..9f1a20605f 100644 --- a/packages/builder/src/builderStore/store/frontend.js +++ b/packages/builder/src/builderStore/store/frontend.js @@ -82,7 +82,7 @@ export const getFrontendStore = () => { libraries: application.componentLibraries, components, clientFeatures: { - ...state.clientFeatures, + ...INITIAL_FRONTEND_STATE.clientFeatures, ...components.features, }, name: application.name,