Add More Features to pages main component

This commit is contained in:
2026-03-17 18:53:27 +01:00
parent 9e94e20198
commit ee1fb5897e
5 changed files with 52 additions and 153 deletions
@@ -125,6 +125,7 @@ export default async function grabPageComponent({
: undefined;
const Component = module.default as FC<any>;
const Head = module.head as FC<any>;
const component = RootComponent ? (
<RootComponent {...serverRes}>
@@ -141,6 +142,7 @@ export default async function grabPageComponent({
module,
bundledMap,
meta,
head: Head,
};
} catch (error: any) {
return await grabPageErrorComponent({