Skip to content

Commit

Permalink
refactor: remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin-fruitful committed May 9, 2024
1 parent b713184 commit 2558d16
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/facets/NaymsTokenFacet.sol
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ contract NaymsTokenFacet is Modifiers {
}

function approve(address spender, uint256 amount) external returns (bool) {
AppStorage storage s = LibAppStorage.diamondStorage();

LibERC20Token._approve(msg.sender, spender, amount, true);

return true;
Expand Down

0 comments on commit 2558d16

Please sign in to comment.