From a6d77c8550012eadd90e66f826a0a766c2c09640 Mon Sep 17 00:00:00 2001 From: Flavio Silva Date: Tue, 23 Jan 2024 12:24:58 -0300 Subject: [PATCH] fix: catch-all build error on localhost after upgrading Next to 14.1 Error: Catch-all must be the last part of the URL --- src/app/app/@dialog/[...catchAll]/default.tsx | 3 --- src/app/app/@dialog/[...catchAll]/not-found.tsx | 8 -------- 2 files changed, 11 deletions(-) delete mode 100644 src/app/app/@dialog/[...catchAll]/default.tsx delete mode 100644 src/app/app/@dialog/[...catchAll]/not-found.tsx diff --git a/src/app/app/@dialog/[...catchAll]/default.tsx b/src/app/app/@dialog/[...catchAll]/default.tsx deleted file mode 100644 index 6ddf1b7..0000000 --- a/src/app/app/@dialog/[...catchAll]/default.tsx +++ /dev/null @@ -1,3 +0,0 @@ -export default function Default() { - return null; -} diff --git a/src/app/app/@dialog/[...catchAll]/not-found.tsx b/src/app/app/@dialog/[...catchAll]/not-found.tsx deleted file mode 100644 index 26947fa..0000000 --- a/src/app/app/@dialog/[...catchAll]/not-found.tsx +++ /dev/null @@ -1,8 +0,0 @@ -export default function NotFound() { - return ( -
-

404

-

This page could not be found.

-
- ); -}