From b1f14c0f716a7d23c178d6683d458f79a826a73a Mon Sep 17 00:00:00 2001 From: DiamondThree <857159145@qq.com> Date: Mon, 9 Jan 2023 23:57:53 +0800 Subject: [PATCH] fix: datacenter type error --- .../WorkspaceSelector/SelectorPopperContent.tsx | 4 +++- .../WorkspaceSelector/WorkspaceItem/PrivateWorkspaceItem.tsx | 4 +++- .../WorkspaceItem/WorkspaceItem/WorkspaceItem.tsx | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/packages/app/src/components/workspace-slider-bar/WorkspaceSelector/SelectorPopperContent.tsx b/packages/app/src/components/workspace-slider-bar/WorkspaceSelector/SelectorPopperContent.tsx index e98707c625..b4012aa65c 100644 --- a/packages/app/src/components/workspace-slider-bar/WorkspaceSelector/SelectorPopperContent.tsx +++ b/packages/app/src/components/workspace-slider-bar/WorkspaceSelector/SelectorPopperContent.tsx @@ -178,4 +178,6 @@ // overflow: 'auto', // }; // }); -export default {}; +export const test = () => { + return <>; +}; diff --git a/packages/app/src/components/workspace-slider-bar/WorkspaceSelector/WorkspaceItem/PrivateWorkspaceItem.tsx b/packages/app/src/components/workspace-slider-bar/WorkspaceSelector/WorkspaceItem/PrivateWorkspaceItem.tsx index dd5dd59744..b9d9522a91 100644 --- a/packages/app/src/components/workspace-slider-bar/WorkspaceSelector/WorkspaceItem/PrivateWorkspaceItem.tsx +++ b/packages/app/src/components/workspace-slider-bar/WorkspaceSelector/WorkspaceItem/PrivateWorkspaceItem.tsx @@ -58,4 +58,6 @@ // whiteSpace: 'nowrap', // }; // }); -export default {}; +export const test = () => { + return <>; +}; diff --git a/packages/app/src/components/workspace-slider-bar/WorkspaceSelector/WorkspaceItem/WorkspaceItem/WorkspaceItem.tsx b/packages/app/src/components/workspace-slider-bar/WorkspaceSelector/WorkspaceItem/WorkspaceItem/WorkspaceItem.tsx index f6d89dd98b..3833f1b516 100644 --- a/packages/app/src/components/workspace-slider-bar/WorkspaceSelector/WorkspaceItem/WorkspaceItem/WorkspaceItem.tsx +++ b/packages/app/src/components/workspace-slider-bar/WorkspaceSelector/WorkspaceItem/WorkspaceItem/WorkspaceItem.tsx @@ -95,4 +95,6 @@ // marginLeft: '12px', // }); -export default {}; +export const test = () => { + return <>; +};