From 4a929984ac6daddbce47af904d62124a419291b9 Mon Sep 17 00:00:00 2001 From: Manzoor Wani Date: Wed, 1 May 2024 17:13:35 +0530 Subject: [PATCH] Move initial state value out of store object --- .../js-packages/publicize-components/src/social-store/types.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/projects/js-packages/publicize-components/src/social-store/types.ts b/projects/js-packages/publicize-components/src/social-store/types.ts index 8b0807cc701b0..3be58a904ad17 100644 --- a/projects/js-packages/publicize-components/src/social-store/types.ts +++ b/projects/js-packages/publicize-components/src/social-store/types.ts @@ -36,11 +36,10 @@ export type SocialStoreState = { hasPaidPlan?: boolean; // on Jetack Social admin page jetpackSettings?: JetpackSettings; - useAdminUiV1?: boolean; }; declare global { interface Window { - jetpackSocialInitialState?: SocialStoreState; + jetpackSocialInitialState?: SocialStoreState & { useAdminUiV1?: boolean }; } }