Skip to content

Commit

Permalink
Update ui/pages/confirmations/components/confirm/title/title.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: OGPoyraz <[email protected]>
  • Loading branch information
pnarayanaswamy and OGPoyraz authored Feb 4, 2025
1 parent a3b7a0a commit 95ca259
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions ui/pages/confirmations/components/confirm/title/title.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,15 @@ function ConfirmBannerAlert({ ownerId }: { ownerId: string }) {
return null;
}

const onClickSupportLink = () => {
const properties = {
properties: {
external_link_clicked: 'security_alert_support_link',
},
};
updateSignatureEventFragment(properties);
updateTransactionEventFragment(properties, ownerId);
};

const onClickSupportLink = useCallback(() => {

Check failure on line 39 in ui/pages/confirmations/components/confirm/title/title.tsx

View workflow job for this annotation

GitHub Actions / Test lint / Test lint

Insert `··`
const properties = {

Check failure on line 40 in ui/pages/confirmations/components/confirm/title/title.tsx

View workflow job for this annotation

GitHub Actions / Test lint / Test lint

Delete `···`
properties: {

Check failure on line 41 in ui/pages/confirmations/components/confirm/title/title.tsx

View workflow job for this annotation

GitHub Actions / Test lint / Test lint

Replace `·········` with `······`
external_link_clicked: 'security_alert_support_link',

Check failure on line 42 in ui/pages/confirmations/components/confirm/title/title.tsx

View workflow job for this annotation

GitHub Actions / Test lint / Test lint

Delete `···`
},

Check failure on line 43 in ui/pages/confirmations/components/confirm/title/title.tsx

View workflow job for this annotation

GitHub Actions / Test lint / Test lint

Replace `·········` with `······`
};

Check failure on line 44 in ui/pages/confirmations/components/confirm/title/title.tsx

View workflow job for this annotation

GitHub Actions / Test lint / Test lint

Delete `···`
updateSignatureEventFragment(properties);

Check failure on line 45 in ui/pages/confirmations/components/confirm/title/title.tsx

View workflow job for this annotation

GitHub Actions / Test lint / Test lint

Delete `···`
updateTransactionEventFragment(properties, ownerId);

Check failure on line 46 in ui/pages/confirmations/components/confirm/title/title.tsx

View workflow job for this annotation

GitHub Actions / Test lint / Test lint

Delete `···`
}, [ownerId]);
return (
<Box marginTop={3}>
{generalAlerts.map((alert) => (
Expand Down

0 comments on commit 95ca259

Please sign in to comment.