Skip to content

Commit

Permalink
Linter fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vl-dev committed Feb 26, 2024
1 parent 7940a97 commit 528aa57
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/routes/Stake.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const calculateFees = (amount: number,
if ((!forever && stakeAccount) || (forever && bondV2Accounts && bondV2Accounts.length > 0)) {
accountCreationFee = 0;
}
let protocolFee = forever ? 0 : amount * (feeBasisPoints / 10000);
const protocolFee = forever ? 0 : amount * (feeBasisPoints / 10000);
return protocolFee + accountCreationFee;
};

Expand Down Expand Up @@ -177,7 +177,6 @@ export const Stake = () => {
}, [minStakeAmount, maxStakeAmount]);

const fee = useMemo(() => {
debugger;
return calculateFees(
stakeAmount,
feeBasisPoints,
Expand Down

0 comments on commit 528aa57

Please sign in to comment.