Skip to content

Commit 46d323f

Browse files
committed
fix: Address duplicate key after merge conflicts
1 parent f659a33 commit 46d323f

File tree

1 file changed

+2
-2
lines changed
  • app/components/Views/Settings/IncomingTransactionsSettings

1 file changed

+2
-2
lines changed

app/components/Views/Settings/IncomingTransactionsSettings/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ const IncomingTransactionsSettings = () => {
9494
supportedNetworks[chainId as keyof typeof supportedNetworks].domain;
9595
return (
9696
<NetworkCell
97-
key={chainId}
97+
key={`${nickname}-${chainId}`}
9898
name={name}
9999
chainId={chainId as EtherscanSupportedHexChainId}
100100
imageSource={image}
@@ -116,7 +116,7 @@ const IncomingTransactionsSettings = () => {
116116
supportedNetworks[chainId as keyof typeof supportedNetworks].domain;
117117
return (
118118
<NetworkCell
119-
key={chainId}
119+
key={`${name}-${chainId}`}
120120
name={name}
121121
chainId={chainId as keyof typeof supportedNetworks}
122122
imageSource={imageSource as ImageSourcePropType}

0 commit comments

Comments
 (0)