|
@@ -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([
|