Skip to content

Commit

Permalink
feat: not support optionalChain
Browse files Browse the repository at this point in the history
  • Loading branch information
AbigailDeng authored and AbigailDeng committed May 23, 2024
1 parent b513ffe commit 437c247
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/formatters.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const inputAddressFormatter = address => {
try {
if (realAddress.indexOf('_') > 0) {
const parts = realAddress.split('_');
realAddress = parts?.[1];
realAddress = parts[1];
}
if (getByteCountByAddress(realAddress) !== 36) {
throw new Error('Invalid address');
Expand Down

0 comments on commit 437c247

Please sign in to comment.