From d1b768b4fec9d3efa1ff52b21867718c1b588233 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oddbj=C3=B8rn=20=C3=98vernes?= Date: Thu, 12 Oct 2023 14:15:26 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Table.Row:=20fix=20Styled=20v6?= =?UTF-8?q?=20false=20positive=20warning=20(#3104)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/eds-core-react/src/components/Table/Row/Row.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/eds-core-react/src/components/Table/Row/Row.tsx b/packages/eds-core-react/src/components/Table/Row/Row.tsx index f9597500d3..b8d27c93af 100644 --- a/packages/eds-core-react/src/components/Table/Row/Row.tsx +++ b/packages/eds-core-react/src/components/Table/Row/Row.tsx @@ -20,11 +20,9 @@ export type RowProps = { } & React.HTMLAttributes export const Row = forwardRef(function Row( - { ...props }, + { children, active, ...props }, ref, ) { - const { children, active } = props - return ( {children}