From bc943d7f17815c65cca1cb0b5b30c169f65c1da3 Mon Sep 17 00:00:00 2001 From: Eric Doughty-Papassideris Date: Wed, 12 Jun 2024 14:15:07 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=87=20frontend:=20silence=20a=20react?= =?UTF-8?q?=20warning=20for=20wrong=20property?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tdrive/frontend/src/app/atoms/button/button.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tdrive/frontend/src/app/atoms/button/button.tsx b/tdrive/frontend/src/app/atoms/button/button.tsx index a9042a4d..1b16d8f1 100644 --- a/tdrive/frontend/src/app/atoms/button/button.tsx +++ b/tdrive/frontend/src/app/atoms/button/button.tsx @@ -68,7 +68,7 @@ export const Button = (props: ButtonProps) => { props.className } disabled={disabled} - {..._.omit(props, 'loading', 'children', 'className', 'icon')} + {..._.omit(props, 'loading', 'children', 'className', 'icon', 'iconSize')} > {props.loading && ( <>