mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-18 10:36:22 +08:00
feat: mock delete
This commit is contained in:
@@ -121,7 +121,11 @@ export const WorkspaceModal = ({ open, onClose }: LoginModalProps) => {
|
||||
confirmText: user ? 'Enable' : 'Sign in and Enable',
|
||||
cancelText: 'Skip',
|
||||
}).then(confirm => {
|
||||
confirm && Login();
|
||||
if (user) {
|
||||
console.log('enable cloud');
|
||||
} else {
|
||||
confirm && Login();
|
||||
}
|
||||
});
|
||||
}}
|
||||
></CreateWorkspaceModal>
|
||||
|
||||
Reference in New Issue
Block a user