mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 04:48:53 +00:00
refactor: move command registry to frontend/core (#7135)
move command registeration related logic out of infra module.
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import {
|
||||
PreconditionStrategy,
|
||||
registerAffineCommand,
|
||||
useService,
|
||||
} from '@toeverything/infra';
|
||||
} from '@affine/core/commands';
|
||||
import { useService } from '@toeverything/infra';
|
||||
import { useEffect } from 'react';
|
||||
|
||||
import { NavigatorService } from '../services/navigator';
|
||||
|
||||
Reference in New Issue
Block a user