refactor: simplify code (#3015)

This commit is contained in:
Alex Yang authored and GitHub committed 2023-07-04 17:34:22 +00:00
1 parent a06ba403d0
commit ec87864c34
31 files changed
+46 -33

No files matched your search

+1 -1
View File
@@ -6,8 +6,8 @@ import {
getCurrentNativeRange,
getVirgoByModel,
} from '@blocksuite/blocks/std';
import { assertExists } from '@blocksuite/global/utils';
import type { Page } from '@blocksuite/store';
import { assertExists } from '@blocksuite/store';
import type { FC } from 'react';
import { useCallback, useEffect, useMemo, useState } from 'react';