Skip to content

Commit

Permalink
Update code
Browse files Browse the repository at this point in the history
  • Loading branch information
prateekpur committed Dec 9, 2024
1 parent ca9dcfa commit efcd98c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,9 @@ describe('ConfirmTitle', () => {
mockStore,
);

// expect(
// getByText(tEn('confirmTitleApproveTransaction') as string),
// ).toBeInTheDocument();
expect(
getByText(tEn('confirmTitleApproveTransaction') as string),
).toBeInTheDocument();
expect(
getByText(tEn('confirmTitleDescApproveTransaction') as string),
).toBeInTheDocument();
Expand Down
2 changes: 1 addition & 1 deletion ui/pages/confirmations/components/confirm/title/title.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ const getTitle = (
return t('confirmTitleSignature');
case TransactionType.tokenMethodApprove:
if (isNFT) {
// return t('confirmTitleApproveTransaction');
return t('confirmTitleApproveTransaction');
}
if (customSpendingCap === '0') {
return t('confirmTitleRevokeApproveTransaction');
Expand Down

0 comments on commit efcd98c

Please sign in to comment.