This commit is contained in:
2026-04-09 07:47:38 +01:00
parent ab6fc3be26
commit eb0721f94b
47 changed files with 826 additions and 136 deletions
@@ -45,9 +45,9 @@ export default async function grabPageErrorComponent({
presetComponent
);
const Component = default_module.default as FC<any>;
const default_jsx = (
<Component>{<span>{error.message}</span>}</Component>
);
const default_jsx: FC = () => {
return <Component>{<span>{error.message}</span>}</Component>;
};
return {
component: default_jsx,
@@ -95,7 +95,7 @@ export default async function grabPageErrorComponent({
);
return {
component: <DefaultNotFound />,
component: DefaultNotFound,
routeParams,
module: { default: DefaultNotFound },
serverRes: default_server_res,