We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a61207a commit 9c48bb8Copy full SHA for 9c48bb8
packages/react-router/lib/router/router.ts
@@ -4909,7 +4909,7 @@ const loadLazyRouteProperty = ({
4909
);
4910
} else {
4911
let value = await lazyFn();
4912
- if (value) {
+ if (value != null) {
4913
Object.assign(routeToUpdate, { [key]: value });
4914
Object.assign(routeToUpdate, mapRouteProperties(routeToUpdate));
4915
}
0 commit comments