From fffd38e044ad4bb0d84d8dad7c710af6cc28d544 Mon Sep 17 00:00:00 2001 From: dcts Date: Mon, 5 Aug 2024 11:04:07 +0200 Subject: [PATCH] fix linter errors --- src/app/components/OrderInput.tsx | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/src/app/components/OrderInput.tsx b/src/app/components/OrderInput.tsx index d23aa4cc..57e2ddd5 100644 --- a/src/app/components/OrderInput.tsx +++ b/src/app/components/OrderInput.tsx @@ -96,17 +96,9 @@ export function OrderInput() { const dispatch = useAppDispatch(); const pairAddress = useAppSelector((state) => state.pairSelector.address); const { walletData } = useAppSelector((state) => state.radix); - const { - type, - side, - token1, - token2, - price, - specifiedToken, - validationPrice, - validationToken1, - validationToken2, - } = useAppSelector((state) => state.orderInput); + const { type, side, token1, token2, price, specifiedToken } = useAppSelector( + (state) => state.orderInput + ); // for better readibility const isMarketOrder = type === "MARKET";