From 32a6399675c0dad64e4753657115fa6ffd2eb6bf Mon Sep 17 00:00:00 2001 From: Marcos Candeia Date: Thu, 25 Jul 2024 10:35:26 -0300 Subject: [PATCH] Do not resolve loaders props Signed-off-by: Marcos Candeia --- website/sections/Rendering/Lazy.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/website/sections/Rendering/Lazy.tsx b/website/sections/Rendering/Lazy.tsx index a0688ad3f..fcdd59908 100644 --- a/website/sections/Rendering/Lazy.tsx +++ b/website/sections/Rendering/Lazy.tsx @@ -109,6 +109,10 @@ export const loader = async (props: Props, req: Request, ctx: AppContext) => { resolvingMatchers[id] = true; return resolve(id); } + if (resolver.type === "loaders") { + // deno-lint-ignore no-explicit-any + return undefined as any; + } return resolve(); }, },