Skip to content

Commit

Permalink
Resolve empty props
Browse files Browse the repository at this point in the history
Signed-off-by: Marcos Candeia <[email protected]>
  • Loading branch information
mcandeia committed Jul 25, 2024
1 parent 2bd9646 commit 9e38075
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions website/sections/Rendering/Lazy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,7 @@ export const loader = async (props: Props, req: Request, ctx: AppContext) => {
return resolve(id);
}
if (resolver?.type === "loaders") {
// deno-lint-ignore no-explicit-any
return undefined as any;
return Promise.resolve([]);
}
return resolve();
},
Expand Down

0 comments on commit 9e38075

Please sign in to comment.