Skip to content

Commit

Permalink
update eslint conf
Browse files Browse the repository at this point in the history
  • Loading branch information
koko37 committed Sep 18, 2024
1 parent 8f9c32b commit 85f578f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,7 @@ module.exports = {
'warn',
{ allowConstantExport: true },
],
'no-unused-vars': 'warn',
'react/prop-types': 'off',
},
}
2 changes: 1 addition & 1 deletion src/pages/Token/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ const Token = () => {
}

setHasErrorInput(false);
const txData = !!token.nativeToken
const txData = token.nativeToken
? {
to: recipient,
value: ethers.parseEther(amount.toString()),
Expand Down

0 comments on commit 85f578f

Please sign in to comment.