From bd15d2d674de0e6358e9f9ca9e223a8ba4879db7 Mon Sep 17 00:00:00 2001 From: lawvs <18554747+lawvs@users.noreply.github.com> Date: Thu, 4 Aug 2022 22:56:29 +0800 Subject: [PATCH] fix: ci --- .../editor-core/src/{contexts.tsx => Contexts.tsx} | 0 libs/components/editor-core/src/hooks.ts | 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) rename libs/components/editor-core/src/{contexts.tsx => Contexts.tsx} (100%) diff --git a/libs/components/editor-core/src/contexts.tsx b/libs/components/editor-core/src/Contexts.tsx similarity index 100% rename from libs/components/editor-core/src/contexts.tsx rename to libs/components/editor-core/src/Contexts.tsx diff --git a/libs/components/editor-core/src/hooks.ts b/libs/components/editor-core/src/hooks.ts index 948cc4a15..f0af8a0f8 100644 --- a/libs/components/editor-core/src/hooks.ts +++ b/libs/components/editor-core/src/hooks.ts @@ -1,3 +1,6 @@ +import { noop, Point } from '@toeverything/utils'; +import { useCallback, useEffect, useRef, useState } from 'react'; +import { useEditor } from './Contexts'; import { AsyncBlock, BlockEditor, @@ -5,9 +8,6 @@ import { SelectionInfo, SelectionSettingsMap, } from './editor'; -import { noop, Point } from '@toeverything/utils'; -import { useCallback, useContext, useEffect, useRef, useState } from 'react'; -import { useEditor } from './Contexts'; function useRequestReRender() { const [, setUpdateCounter] = useState(0);