feat: add email avatar

This commit is contained in:
MingLiang Wang
2022-12-23 18:58:15 +08:00
parent 2acc94cf2c
commit aa58bbcd1b
3 changed files with 16 additions and 8 deletions
@@ -57,7 +57,7 @@ export const GeneralPage = ({
meta => meta.id === workspace.id
);
const nextWorkSpaceId =
currentWorkspaceIndex > workspacesMeta.length - 1
currentWorkspaceIndex === workspacesMeta.length - 1
? workspacesMeta[currentWorkspaceIndex - 1]?.id
: workspacesMeta[currentWorkspaceIndex + 1]?.id;
const handleClickDelete = () => {