reiji-h 2 лет назад
Родитель
Сommit
f107cbc298
1 измененных файлов с 4 добавлено и 1 удалено
  1. 4 1
      packages/presentation/src/components/Slides.tsx

+ 4 - 1
packages/presentation/src/components/Slides.tsx

@@ -85,7 +85,10 @@ export const Slides = (props: Props): JSX.Element => {
           <style>{css}</style>
           <style>{css}</style>
         </Head>
         </Head>
         <div
         <div
-          dangerouslySetInnerHTML={{ __html: dompurify.sanitize(html) }}
+          // eslint-disable-next-line react/no-danger
+          dangerouslySetInnerHTML={{
+            __html: dompurify.sanitize(html),
+          }}
         />
         />
       </>
       </>
     );
     );