diff --git a/packages/web/hooks/useCopyData.tsx b/packages/web/hooks/useCopyData.tsx index 6d70f7295..a0525561f 100644 --- a/packages/web/hooks/useCopyData.tsx +++ b/packages/web/hooks/useCopyData.tsx @@ -18,7 +18,11 @@ export const useCopyData = () => { const { setCopyContent } = useCommonStore(); const copyData = useCallback( - async (data: string, title = t('common:common.Copy Successful'), duration = 1000) => { + async ( + data: string, + title: string | null | undefined = t('common:common.Copy Successful'), + duration = 1000 + ) => { data = data.trim(); try { diff --git a/projects/app/src/pageComponents/account/team/MemberTable.tsx b/projects/app/src/pageComponents/account/team/MemberTable.tsx index bba44c550..699f6afc6 100644 --- a/projects/app/src/pageComponents/account/team/MemberTable.tsx +++ b/projects/app/src/pageComponents/account/team/MemberTable.tsx @@ -336,13 +336,7 @@ function MemberTable({ Tabs }: { Tabs: React.ReactNode }) { - {isOpenInvite && userInfo?.team?.teamId && ( - - )} + {isOpenInvite && userInfo?.team?.teamId && } {isOpenTeamTagsAsync && } );