Files
Jiachi LiuandGitHub e20c8c824c Assign default not-found boundary if custom not-found is not present for root layer only (#54185)
Fixes #54174 

We should only add default not-found boundary to loader tree components for root layout. It was accidently added for children routes before
2023-08-17 18:27:27 +00:00

12 lines
180 B
JavaScript

export default function NotFound() {
return (
<>
<h1>Root Not Found</h1>
<div id="timestamp">{Date.now()}</div>
</>
)
}
NotFound.displayName = 'NotFound'