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.
2 parents 61da306 + 4c89e96 commit d16a9c0Copy full SHA for d16a9c0
apps/app/src/pages/[[...path]]/index.page.tsx
@@ -277,9 +277,9 @@ export const getServerSideProps: GetServerSideProps<Props> = async (
277
// Merge all results in a type-safe manner (using sequential merging)
278
return mergeGetServerSidePropsResults(
279
commonEachPropsResult,
280
- nextjsRoutingType === NextjsRoutingType.INITIAL
281
- ? await getServerSidePropsForInitial(context)
282
- : await getServerSidePropsForSameRoute(context),
+ nextjsRoutingType === NextjsRoutingType.SAME_ROUTE
+ ? await getServerSidePropsForSameRoute(context)
+ : await getServerSidePropsForInitial(context),
283
);
284
};
285
0 commit comments