From 131dde2bea8c1f03bb9dc2487fc9c723a7452275 Mon Sep 17 00:00:00 2001 From: miroslav Date: Tue, 8 Nov 2022 13:08:47 +0100 Subject: [PATCH] fix console error on workspace members/invite pages --- src/pages/workspace/WorkspaceInvitePage.js | 2 +- src/pages/workspace/WorkspaceMembersPage.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/workspace/WorkspaceInvitePage.js b/src/pages/workspace/WorkspaceInvitePage.js index 4d58db2782fe..395707142f7a 100644 --- a/src/pages/workspace/WorkspaceInvitePage.js +++ b/src/pages/workspace/WorkspaceInvitePage.js @@ -55,7 +55,7 @@ const propTypes = { ...policyPropTypes, ...withLocalizePropTypes, - ...networkPropTypes, + network: networkPropTypes.isRequired, }; const defaultProps = policyDefaultProps; diff --git a/src/pages/workspace/WorkspaceMembersPage.js b/src/pages/workspace/WorkspaceMembersPage.js index 477dc02f9642..d18f69f87e2a 100644 --- a/src/pages/workspace/WorkspaceMembersPage.js +++ b/src/pages/workspace/WorkspaceMembersPage.js @@ -49,7 +49,7 @@ const propTypes = { ...policyPropTypes, ...withLocalizePropTypes, ...windowDimensionsPropTypes, - ...networkPropTypes, + network: networkPropTypes.isRequired, }; const defaultProps = policyDefaultProps;