From 1a322d2d6546841a202086380d61fed4f8729d22 Mon Sep 17 00:00:00 2001 From: chris Date: Mon, 11 Nov 2024 15:45:09 +1000 Subject: [PATCH] fix: Fix type --- .../src/modules/transfer/components/ToAccount/index.tsx | 2 +- .../src/modules/transfer/components/ToSection/index.tsx | 8 ++++---- .../src/modules/transfer/index.tsx | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/canonical-bridge-widget/src/modules/transfer/components/ToAccount/index.tsx b/packages/canonical-bridge-widget/src/modules/transfer/components/ToAccount/index.tsx index ef2ad936..a464f4f2 100644 --- a/packages/canonical-bridge-widget/src/modules/transfer/components/ToAccount/index.tsx +++ b/packages/canonical-bridge-widget/src/modules/transfer/components/ToAccount/index.tsx @@ -60,7 +60,7 @@ export function ToAccount(props: FlexProps) { if (!toAccount.address) setInputValue(''); }, [toAccount.address]); - const { isInvalid, isAvailableAccount } = useMemo(() => { + const { isInvalid } = useMemo(() => { if (isTronTransfer) { return { isInvalid: diff --git a/packages/canonical-bridge-widget/src/modules/transfer/components/ToSection/index.tsx b/packages/canonical-bridge-widget/src/modules/transfer/components/ToSection/index.tsx index f11fa3ff..c3f60f5a 100644 --- a/packages/canonical-bridge-widget/src/modules/transfer/components/ToSection/index.tsx +++ b/packages/canonical-bridge-widget/src/modules/transfer/components/ToSection/index.tsx @@ -13,14 +13,14 @@ export function ToSection() { const toChain = useAppSelector((state) => state.transfer.toChain); return ( - - {routeContentBottom} -