mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-21 12:02:15 +08:00
refactor: abstract header adapter (#2580)
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
import type { WorkspaceSubPath } from '@affine/workspace/type';
|
||||
import type { NextRouter } from 'next/router';
|
||||
import { useCallback } from 'react';
|
||||
|
||||
import type { WorkspaceSubPath } from '../shared';
|
||||
|
||||
export const enum RouteLogic {
|
||||
REPLACE = 'replace',
|
||||
PUSH = 'push',
|
||||
|
||||
Reference in New Issue
Block a user