Procházet zdrojové kódy

use useRendererConfigExt

Naoki427 před 11 měsíci
rodič
revize
aa6958f41f
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      apps/app/src/stores/renderer.tsx

+ 1 - 1
apps/app/src/stores/renderer.tsx

@@ -182,7 +182,7 @@ export const useCustomSidebarOptions = (config?: SWRConfiguration): SWRResponse<
 
 export const usePresentationViewOptions = (): SWRResponse<RendererOptions, Error> => {
   const { data: currentPagePath } = useCurrentPagePath();
-  const { data: rendererConfigRaw } = useRendererConfig();
+  const rendererConfigRaw = useRendererConfigExt();
 
   const rendererConfig = rendererConfigRaw ?? DEFAULT_RENDERER_CONFIG;