rwsdk 0.1.33 → 0.1.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -98,7 +98,7 @@ export function defineRoutes(routes) {
|
|
|
98
98
|
if (isRouteComponent(h)) {
|
|
99
99
|
const requestInfo = getRequestInfo();
|
|
100
100
|
const WrappedComponent = wrapWithLayouts(wrapHandlerToThrowResponses(h), layouts || [], requestInfo);
|
|
101
|
-
if (!isClientReference(
|
|
101
|
+
if (!isClientReference(h)) {
|
|
102
102
|
// context(justinvdm, 31 Jul 2025): We now know we're dealing with a page route,
|
|
103
103
|
// so we create a deferred so that we can signal when we're done determining whether
|
|
104
104
|
// we're returning a response or a react element
|