Skip to content

Commit

Permalink
fix(core): removing unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
tommayeliog committed May 8, 2024
1 parent c3d42e8 commit c27f9bf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ export interface TransactionDetailsProps {
ownAddresses: string[];
addressToNameMap: Map<string, string>;
isPopupView?: boolean;
openExternalLink?: (url: string) => void;
handleOpenExternalHashLink?: () => void;
sendAnalyticsInputs?: () => void;
sendAnalyticsOutputs?: () => void;
Expand Down Expand Up @@ -128,7 +127,6 @@ export const TransactionDetails = ({
ownAddresses,
addressToNameMap,
isPopupView,
// openExternalLink,
handleOpenExternalHashLink,
sendAnalyticsInputs,
sendAnalyticsOutputs,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,13 @@ export const TxDetailsCertificates = ({

return (
<TxDetailsGroup title={t('core.activityDetails.certificates')} testId="certificates" withSeparatorLine>
{certificates.map((cert, index) => (
<CertificateView key={index} certificate={cert} chainNetworkId={chainNetworkId} cardanoCoin={cardanoCoin} />
{certificates.map((cert) => (
<CertificateView
key={`${cert.__typename}`}
certificate={cert}
chainNetworkId={chainNetworkId}
cardanoCoin={cardanoCoin}
/>
))}
</TxDetailsGroup>
);
Expand Down

0 comments on commit c27f9bf

Please sign in to comment.