fix: lint error and build error

This commit is contained in:
DiamondThree
2023-01-10 23:13:22 +08:00
parent d7e6654965
commit eef467558e
11 changed files with 24 additions and 22 deletions

View File

@@ -43,7 +43,7 @@ export const SyncPage = ({ workspace }: { workspace: WorkspaceUnit }) => {
// await login();
// }
const id = await enableWorkspace(currentWorkspace);
router.push(`/workspace/${id}`);
router.push(`/workspace/${id}/setting`);
toast('Enabled success');
}
});