From 813cbda8912482c12e4c6a948fd3d7ebee47fe76 Mon Sep 17 00:00:00 2001 From: Tommy Verrall Date: Fri, 21 Mar 2025 12:43:17 +0100 Subject: [PATCH] lint of delegations --- nym-wallet/src/pages/delegation/index.tsx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/nym-wallet/src/pages/delegation/index.tsx b/nym-wallet/src/pages/delegation/index.tsx index 9c5b630567..9cbfefcfbf 100644 --- a/nym-wallet/src/pages/delegation/index.tsx +++ b/nym-wallet/src/pages/delegation/index.tsx @@ -184,9 +184,7 @@ export const Delegation: FC<{ isStorybook?: boolean }> = ({ isStorybook }) => { action: 'delegate', message: 'This operation can take up to one hour to process', ...balances, - transactions: [ - { url: `${urls(network).blockExplorer}/tx/${tx.transaction_hash}`, hash: tx.transaction_hash }, - ], + transactions: [{ url: `${urls(network).blockExplorer}/tx/${tx.transaction_hash}`, hash: tx.transaction_hash }], }); } catch (e) { Console.error('Failed to addDelegation', e); @@ -235,9 +233,7 @@ export const Delegation: FC<{ isStorybook?: boolean }> = ({ isStorybook }) => { status: 'success', action: 'delegate', ...balances, - transactions: [ - { url: `${urls(network).blockExplorer}/tx/${tx.transaction_hash}`, hash: tx.transaction_hash }, - ], + transactions: [{ url: `${urls(network).blockExplorer}/tx/${tx.transaction_hash}`, hash: tx.transaction_hash }], }); } catch (e) { Console.error('Failed to addMoreDelegation', e);