Skip to content

Commit

Permalink
Merge pull request #108 from the-standard/202501-merkl-more
Browse files Browse the repository at this point in the history
fix: possible fix for beta stage issue
  • Loading branch information
ZakMooney authored Feb 14, 2025
2 parents 68a5559 + d71681f commit 54b5cb8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
8 changes: 4 additions & 4 deletions src/components/vault/merkl/TSTStake/TSTModalStake.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -201,10 +201,10 @@ const TSTModalStake = (props) => {
// }, []);

useEffect(() => {
if (isFirstMount.current) {
isFirstMount.current = false;
return;
}
// if (isFirstMount.current) {
// isFirstMount.current = false;
// return;
// }
if (tstIsSuccess) {
handleLetsStake();
}
Expand Down
3 changes: 0 additions & 3 deletions src/components/vault/merkl/TSTStake/TSTModalWithdraw.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ const TSTModalWithdraw = (props) => {
});

const handleWithdrawToken = async () => {
console.log('handle')
try {
writeContract({
abi: smartVaultABI,
Expand Down Expand Up @@ -125,8 +124,6 @@ const TSTModalWithdraw = (props) => {
withdrawStage = 'Confirming withdrawal transaction';
}

console.log({isPending}, {isConfirming}, {isSuccess}, {isError}, {error}, {isFirstMount})

return (
<>
<Typography variant="h2" className="card-title">
Expand Down

0 comments on commit 54b5cb8

Please sign in to comment.