Initial boiler plate project
This commit is contained in:
21
node_modules/next/dist/esm/client/components/dev-root-not-found-boundary.js
generated
vendored
Normal file
21
node_modules/next/dist/esm/client/components/dev-root-not-found-boundary.js
generated
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
"use client";
|
||||
|
||||
import { jsx as _jsx } from "react/jsx-runtime";
|
||||
import React from "react";
|
||||
import { NotFoundBoundary } from "./not-found-boundary";
|
||||
export function bailOnNotFound() {
|
||||
throw new Error("notFound() is not allowed to use in root layout");
|
||||
}
|
||||
function NotAllowedRootNotFoundError() {
|
||||
bailOnNotFound();
|
||||
return null;
|
||||
}
|
||||
export function DevRootNotFoundBoundary(param) {
|
||||
let { children } = param;
|
||||
return /*#__PURE__*/ _jsx(NotFoundBoundary, {
|
||||
notFound: /*#__PURE__*/ _jsx(NotAllowedRootNotFoundError, {}),
|
||||
children: children
|
||||
});
|
||||
}
|
||||
|
||||
//# sourceMappingURL=dev-root-not-found-boundary.js.map
|
||||
Reference in New Issue
Block a user