From 03cd31d498ef43d3d3d12dfb5f82734ccb36bdf8 Mon Sep 17 00:00:00 2001 From: Karolina Kosiorowska Date: Wed, 27 Nov 2024 13:26:31 +0100 Subject: [PATCH] Add missing `status` for `ConnectWalletAlert` component --- dapp/src/components/ConnectWalletModal/ConnectWalletAlert.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dapp/src/components/ConnectWalletModal/ConnectWalletAlert.tsx b/dapp/src/components/ConnectWalletModal/ConnectWalletAlert.tsx index 70da999ff..c1301912f 100644 --- a/dapp/src/components/ConnectWalletModal/ConnectWalletAlert.tsx +++ b/dapp/src/components/ConnectWalletModal/ConnectWalletAlert.tsx @@ -63,7 +63,7 @@ const collapseVariants: Variants = { type ConnectWalletAlertProps = AlertProps & { type?: ConnectionAlert } export default function ConnectWalletAlert(props: ConnectWalletAlertProps) { - const { type, ...restProps } = props + const { type, status, ...restProps } = props const data = type ? CONNECTION_ALERTS[type] : undefined @@ -79,7 +79,7 @@ export default function ConnectWalletAlert(props: ConnectWalletAlertProps) { overflow="hidden" w="full" > - + {data.title}