Skip to content

Commit

Permalink
πŸ› Table.Row: fix Styled v6 false positive warning (#3104)
Browse files Browse the repository at this point in the history
  • Loading branch information
oddvernes authored Oct 12, 2023
1 parent 5dcf2ad commit d1b768b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/eds-core-react/src/components/Table/Row/Row.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,9 @@ export type RowProps = {
} & React.HTMLAttributes<HTMLTableRowElement>

export const Row = forwardRef<HTMLTableRowElement, RowProps>(function Row(
{ ...props },
{ children, active, ...props },
ref,
) {
const { children, active } = props

return (
<StyledRow {...props} $active={active} ref={ref}>
{children}
Expand Down

0 comments on commit d1b768b

Please sign in to comment.