mirror of
https://github.com/linsa-io/linsa.git
synced 2026-04-20 23:41:29 +02:00
fix: missing display name
This commit is contained in:
@@ -26,12 +26,16 @@ const ColumnWrapper = React.forwardRef<HTMLDivElement, ColumnWrapperProps>(
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
ColumnWrapper.displayName = "ColumnWrapper"
|
||||||
|
|
||||||
const ColumnText = React.forwardRef<HTMLSpanElement, ColumnTextProps>(({ children, className, ...props }, ref) => (
|
const ColumnText = React.forwardRef<HTMLSpanElement, ColumnTextProps>(({ children, className, ...props }, ref) => (
|
||||||
<span className={cn("text-left text-xs", className)} ref={ref} {...props}>
|
<span className={cn("text-left text-xs", className)} ref={ref} {...props}>
|
||||||
{children}
|
{children}
|
||||||
</span>
|
</span>
|
||||||
))
|
))
|
||||||
|
|
||||||
|
ColumnText.displayName = "ColumnText"
|
||||||
|
|
||||||
export const Column = {
|
export const Column = {
|
||||||
Wrapper: ColumnWrapper,
|
Wrapper: ColumnWrapper,
|
||||||
Text: ColumnText
|
Text: ColumnText
|
||||||
|
|||||||
@@ -30,7 +30,6 @@ export const PageItem = React.forwardRef<HTMLAnchorElement, PageItemProps>(({ pa
|
|||||||
)}
|
)}
|
||||||
href={`/pages/${page.id}`}
|
href={`/pages/${page.id}`}
|
||||||
role="listitem"
|
role="listitem"
|
||||||
aria-selected={isActive}
|
|
||||||
>
|
>
|
||||||
<div className="flex h-full items-center gap-4">
|
<div className="flex h-full items-center gap-4">
|
||||||
<Column.Wrapper style={columnStyles.title}>
|
<Column.Wrapper style={columnStyles.title}>
|
||||||
|
|||||||
Reference in New Issue
Block a user