lint of delegations

This commit is contained in:
Tommy Verrall
2025-03-21 12:43:17 +01:00
parent a8af641ec4
commit 813cbda891
+2 -6
View File
@@ -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);