mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-27 02:42:25 +08:00
style: enable rxjs/finnish (#6276)
chore(infra): use finnish notation for observables do rename
This commit is contained in:
@@ -192,7 +192,7 @@ export const AuthModal = (): ReactElement => {
|
||||
|
||||
export function CurrentWorkspaceModals() {
|
||||
const currentWorkspace = useLiveData(
|
||||
useService(CurrentWorkspaceService).currentWorkspace
|
||||
useService(CurrentWorkspaceService).currentWorkspace$
|
||||
);
|
||||
const [openDisableCloudAlertModal, setOpenDisableCloudAlertModal] = useAtom(
|
||||
openDisableCloudAlertModalAtom
|
||||
@@ -227,10 +227,10 @@ export const SignOutConfirmModal = () => {
|
||||
const { openPage } = useNavigateHelper();
|
||||
const [open, setOpen] = useAtom(openSignOutModalAtom);
|
||||
const currentWorkspace = useLiveData(
|
||||
useService(CurrentWorkspaceService).currentWorkspace
|
||||
useService(CurrentWorkspaceService).currentWorkspace$
|
||||
);
|
||||
const workspaces = useLiveData(
|
||||
useService(WorkspaceManager).list.workspaceList
|
||||
useService(WorkspaceManager).list.workspaceList$
|
||||
);
|
||||
|
||||
const onConfirm = useAsyncCallback(async () => {
|
||||
|
||||
Reference in New Issue
Block a user