From 84ee3d05175112e2e4890fa1dd3339de5be157fc Mon Sep 17 00:00:00 2001 From: Aslam H Date: Mon, 9 Sep 2024 17:50:29 +0700 Subject: [PATCH] fix: missing display name --- web/components/routes/page/partials/column.tsx | 4 ++++ web/components/routes/page/partials/page-item.tsx | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/web/components/routes/page/partials/column.tsx b/web/components/routes/page/partials/column.tsx index 79c8b03d..d1482f93 100644 --- a/web/components/routes/page/partials/column.tsx +++ b/web/components/routes/page/partials/column.tsx @@ -26,12 +26,16 @@ const ColumnWrapper = React.forwardRef( ) ) +ColumnWrapper.displayName = "ColumnWrapper" + const ColumnText = React.forwardRef(({ children, className, ...props }, ref) => ( {children} )) +ColumnText.displayName = "ColumnText" + export const Column = { Wrapper: ColumnWrapper, Text: ColumnText diff --git a/web/components/routes/page/partials/page-item.tsx b/web/components/routes/page/partials/page-item.tsx index c7f42379..1f9c3d29 100644 --- a/web/components/routes/page/partials/page-item.tsx +++ b/web/components/routes/page/partials/page-item.tsx @@ -30,7 +30,6 @@ export const PageItem = React.forwardRef(({ pa )} href={`/pages/${page.id}`} role="listitem" - aria-selected={isActive} >