diff --git a/src/app/500.js b/src/app/error.jsx similarity index 97% rename from src/app/500.js rename to src/app/error.jsx index 654b605a..07d75e7e 100644 --- a/src/app/500.js +++ b/src/app/error.jsx @@ -1,3 +1,5 @@ +'use client' + export default function ServerError() { return (
diff --git a/src/app/404.js b/src/app/not-found.jsx similarity index 98% rename from src/app/404.js rename to src/app/not-found.jsx index 8aa5e9bc..8127943b 100644 --- a/src/app/404.js +++ b/src/app/not-found.jsx @@ -1,3 +1,5 @@ +'use client' + import Link from 'next/link' export default function NotFound() {