Skip to content
This repository was archived by the owner on Aug 26, 2025. It is now read-only.

Commit 81aa273

Browse files
chore: Fixed broken link (#216)
### Description Hi! I fixed a broken GitHub link in `Identicon.tsx` pointing to MetaMask's `icon-factory`. The old `.js` path has been updated to `.ts` to reflect the current file structure in their repo. ### Tested Manual check — verified the updated URL points to the correct file and line in MetaMask's GitHub repo. ### Checklist before requesting a review - [x] I have performed a self-review of my own code - [ ] I have added unit-tests that prove my fix is effective or that my feature works - [x] The PR title follows the [conventions](https://www.notion.so/Git-Branching-and-Commit-Message-Conventions-18f66f7d06444cfcbac5725ffbc7c04a?pvs=4#9355048863c549ef92fe210a8a1298aa) - [ ] I have run the [regression tests](https://www.notion.so/Mento-Web-App-Regression-Tests-37bd43a7da8d4e38b65993320a33d557) - [ ] The Smoke Test Run is passed ([how to check the Smoke Test Run job result](https://www.notion.so/mentolabs/How-to-analyze-the-Smoke-Test-Run-1b6a2148cc5c80ec8834f2dd97491680)) Co-authored-by: chapati <philip.paetz@me.com>
1 parent 198214e commit 81aa273

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Identicon.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ type Props = {
88
styles?: CSSProperties
99
}
1010

11-
// This should match metamask: https://github.com/MetaMask/metamask-extension/blob/master/ui/helpers/utils/icon-factory.js#L84
11+
// This should match metamask: https://github.com/MetaMask/metamask-extension/blob/master/ui/helpers/utils/icon-factory.ts#L84
1212
function addressToSeed(address: string) {
1313
const addrStub = normalizeAddress(address).slice(2, 10)
1414
return parseInt(addrStub, 16)

0 commit comments

Comments
 (0)