Jelajahi Sumber

Merge branch 'master' into support/upgrade-axios

Yuki Takei 1 bulan lalu
induk
melakukan
7b41dbc76d

+ 2 - 2
packages/presentation/src/client/components/GrowiSlides.tsx

@@ -24,11 +24,11 @@ export const GrowiSlides = (props: Props): JSX.Element => {
   const { rendererOptions, isDarkMode, disableSeparationByHeader } = options;
 
   if (
-    rendererOptions == null ||
     rendererOptions.remarkPlugins == null ||
     rendererOptions.components == null
   ) {
-    return;
+    // biome-ignore lint/complexity/noUselessFragments: This is for type checking only. The actual code will never reach here.
+    return <></>;
   }
 
   rendererOptions.remarkPlugins.push([