Skip to content

Commit

Permalink
fix: sui getCoinType func logic (#431)
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Gamja authored Feb 15, 2025
1 parent cd4ef25 commit 9aa8546
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Popup/utils/sui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export function getCoinType(type?: string | null) {
}

const startIndex = type.indexOf('<');
const endIndex = type.indexOf('>');
const endIndex = type.lastIndexOf('>');

if (startIndex > -1 && endIndex > -1) {
return type.substring(startIndex + 1, endIndex);
Expand Down

0 comments on commit 9aa8546

Please sign in to comment.