From ebe0abe3aa29ce9d5d5d50c7318db3a4a8deb91b Mon Sep 17 00:00:00 2001 From: devjiwonchoi Date: Wed, 15 Jan 2025 14:46:00 +0900 Subject: [PATCH] [DevOverlay] Keep pagination on Build Error --- .../error-overlay-pagination.tsx | 80 +++++++++---------- 1 file changed, 39 insertions(+), 41 deletions(-) diff --git a/packages/next/src/client/components/react-dev-overlay/_experimental/internal/components/Errors/error-overlay-pagination/error-overlay-pagination.tsx b/packages/next/src/client/components/react-dev-overlay/_experimental/internal/components/Errors/error-overlay-pagination/error-overlay-pagination.tsx index 0349b9c0f26e0..1360c6bcc8d27 100644 --- a/packages/next/src/client/components/react-dev-overlay/_experimental/internal/components/Errors/error-overlay-pagination/error-overlay-pagination.tsx +++ b/packages/next/src/client/components/react-dev-overlay/_experimental/internal/components/Errors/error-overlay-pagination/error-overlay-pagination.tsx @@ -116,47 +116,45 @@ export function ErrorOverlayPagination({ }, [nav, activeIdx, readyErrors.length]) return ( - <> - {readyErrors.length > 0 && ( - - )} - + ) }