mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-24 05:07:06 +08:00
chore: sort imports
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
export * from './use-file-system-handlers';
|
||||
export * from './use-keyboard-shortcuts';
|
||||
export * from './use-tldraw-app';
|
||||
// export * from './useTheme';
|
||||
export * from './use-stylesheet';
|
||||
export * from './use-file-system-handlers';
|
||||
export * from './use-tldraw-app';
|
||||
// export * from './useFileSystem';
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { AlignStyle, TDShapeType } from '@toeverything/components/board-types';
|
||||
import * as React from 'react';
|
||||
import { useHotkeys } from 'react-hotkeys-hook';
|
||||
import { AlignStyle, TDShapeType } from '@toeverything/components/board-types';
|
||||
import { useTldrawApp } from './use-tldraw-app';
|
||||
import { useFileSystemHandlers } from './use-file-system-handlers';
|
||||
import { useTldrawApp } from './use-tldraw-app';
|
||||
|
||||
export function useKeyboardShortcuts(ref: React.RefObject<HTMLDivElement>) {
|
||||
const app = useTldrawApp();
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import * as React from 'react';
|
||||
import type { TldrawApp } from '@toeverything/components/board-state';
|
||||
import * as React from 'react';
|
||||
|
||||
export const TldrawContext = React.createContext<TldrawApp>({} as TldrawApp);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user