This reverts commit0d3baee593
. Revert "fix: temp renamed app dir to prevent OOM" This reverts commit0d3baee593
. Revert "fix: temp renamed app dir to prevent OOM" This reverts commit0d3baee593
. Revert "fix: temp renamed app dir to prevent OOM" This reverts commit0d3baee593
.
18 lines
320 B
TypeScript
18 lines
320 B
TypeScript
"use client";
|
|
|
|
import { type NextPage } from "next";
|
|
|
|
import CustomError, { type DefaultErrorProps } from "./error";
|
|
|
|
export const GlobalError: NextPage<DefaultErrorProps> = (props) => {
|
|
return (
|
|
<html>
|
|
<body>
|
|
<CustomError {...props} />
|
|
</body>
|
|
</html>
|
|
);
|
|
};
|
|
|
|
export default GlobalError;
|