From e752a13098cbbf540022365dbed217b776971781 Mon Sep 17 00:00:00 2001 From: Miguel Peixe Date: Thu, 10 Feb 2022 13:42:59 -0300 Subject: [PATCH] use named function --- packages/block-editor/src/components/iframe/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/block-editor/src/components/iframe/index.js b/packages/block-editor/src/components/iframe/index.js index 9c922f2b9b21a3..52d656f8ff5a03 100644 --- a/packages/block-editor/src/components/iframe/index.js +++ b/packages/block-editor/src/components/iframe/index.js @@ -89,7 +89,7 @@ function useEditorStylesCompat() { } } ); - const appendStyles = () => { + function appendStyles() { const doc = node.contentDocument; if ( @@ -112,7 +112,7 @@ function useEditorStylesCompat() { } ); return true; - }; + } if ( appendStyles() ) { return;