Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
legobeat authored and miladtsx committed May 8, 2023
1 parent 8069c01 commit 57acbca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ui/pages/import-token/import-token.component.js
Original file line number Diff line number Diff line change
Expand Up @@ -367,8 +367,9 @@ class ImportToken extends Component {
const symbolLength = customSymbol.length;
let customSymbolError = null;

if (symbolLength == 0 || symbolLength >= 100)
if (symbolLength === 0 || symbolLength >= 100) {
customSymbolError = this.context.t('symbolBetweenZeroHundred');
}

this.setState({ customSymbol, customSymbolError });
}
Expand Down

0 comments on commit 57acbca

Please sign in to comment.