mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-11 20:08:37 +00:00
refactor: remove hacky email login (#4075)
Co-authored-by: Alex Yang <himself65@outlook.com>
This commit is contained in:
@@ -266,9 +266,9 @@ export interface WorkspaceEvents {
|
||||
}
|
||||
|
||||
export interface UIEvents {
|
||||
onStartLogin: (fn: (options: { email: string }) => void) => () => void;
|
||||
onStartLogin: (fn: (options: { email?: string }) => void) => () => void;
|
||||
onFinishLogin: (
|
||||
fn: (result: { success: boolean; email: string }) => void
|
||||
fn: (result: { success: boolean; email?: string }) => void
|
||||
) => () => void;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user