Yuki Takei пре 2 дана
родитељ
комит
688c260d91
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      packages/presentation/src/client/components/GrowiSlides.tsx

+ 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;
   const { rendererOptions, isDarkMode, disableSeparationByHeader } = options;
 
 
   if (
   if (
-    rendererOptions == null ||
     rendererOptions.remarkPlugins == null ||
     rendererOptions.remarkPlugins == null ||
     rendererOptions.components == 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([
   rendererOptions.remarkPlugins.push([