Skip to content

Commit

Permalink
Move initial state value out of store object
Browse files Browse the repository at this point in the history
  • Loading branch information
manzoorwanijk committed May 1, 2024
1 parent a4b2dd9 commit 4a92998
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 };
}
}

0 comments on commit 4a92998

Please sign in to comment.