diff --git a/hooks/useIsolatedContentWindow.ts b/hooks/useIsolatedContentWindow.ts index 4ccd27f3..f6f6c0e1 100644 --- a/hooks/useIsolatedContentWindow.ts +++ b/hooks/useIsolatedContentWindow.ts @@ -63,6 +63,7 @@ const createIframe = ( const contentDocument = iframe.contentDocument as Document; contentDocument.open(); + // eslint-disable-next-line deprecation/deprecation contentDocument.write(` ${styles ? `
` : "