Skip to content

Commit

Permalink
changed "substr" to "substring" in two places
Browse files Browse the repository at this point in the history
  • Loading branch information
phershbe authored Jun 7, 2022
1 parent dab5303 commit 4855334
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/profile/Address.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export function Address() {
const displayAddress = useMemo(() => {
if (bnsName.loaded) return bnsName.data;
if (stxAddress.loaded)
return `${stxAddress.data.substr(0, 5)}...${stxAddress.data.substr(
return `${stxAddress.data.substring(0, 5)}...${stxAddress.data.substring(
stxAddress.data.length - 5
)}`;
return 'Profile';
Expand Down

0 comments on commit 4855334

Please sign in to comment.