Explorar el Código

use useRendererConfigExt

Naoki427 hace 11 meses
padre
commit
aa6958f41f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;