From 96ea531b4ed508ff6cf4a9ab0431b47b0983a2de Mon Sep 17 00:00:00 2001 From: DiamondThree Date: Tue, 2 Aug 2022 17:03:01 +0800 Subject: [PATCH] fix iframe will take away the focus --- libs/components/editor-core/src/recast-block/view.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/components/editor-core/src/recast-block/view.ts b/libs/components/editor-core/src/recast-block/view.ts index 89b32488ea..09e4644977 100644 --- a/libs/components/editor-core/src/recast-block/view.ts +++ b/libs/components/editor-core/src/recast-block/view.ts @@ -53,7 +53,7 @@ export const useCurrentView = () => { export const useLazyIframe = ( link: string, timers: number, - container: MutableRefObject + container: MutableRefObject ) => { const [iframeShow, setIframeShow] = useState(false); useEffect(() => {