فهرست منبع

delete unnecessary codes

WNomunomu 2 سال پیش
والد
کامیت
5db71ea09c
1فایلهای تغییر یافته به همراه0 افزوده شده و 6 حذف شده
  1. 0 6
      apps/app/src/client/services/renderer/renderer.tsx

+ 0 - 6
apps/app/src/client/services/renderer/renderer.tsx

@@ -235,12 +235,6 @@ export const generatePresentationViewOptions = (
 ): RendererOptions => {
   // based on simple view options
   const options = generateSimpleViewOptions(config, pagePath);
-  const { remarkPlugins, rehypePlugins, components } = options;
-
-  // add components
-  if (components != null) {
-    components.img = LightBox;
-  }
 
   if (config.isEnabledXssPrevention) {
     verifySanitizePlugin(options, false);