@@ -151,13 +151,13 @@ export const GeyserStakeView = () => {
151151 const tx = await withdrawUnlockedFromVault ( rewardTokenAddress )
152152 if ( tx ) {
153153 const { response, amount } = tx
154- setActualRewardsFromUnstake ( amount )
154+ // setActualRewardsFromUnstake(amount)
155155 return response
156156 }
157157 }
158158 }
159159 if ( receipt && rewardAmountClaimedOnUnstake ) {
160- setActualRewardsFromUnstake ( await rewardAmountClaimedOnUnstake ( receipt ) )
160+ // setActualRewardsFromUnstake(await rewardAmountClaimedOnUnstake(receipt))
161161 }
162162 return undefined
163163 }
@@ -187,7 +187,7 @@ export const GeyserStakeView = () => {
187187 decimals = { stakingTokenDecimals }
188188 symbol = { stakingTokenSymbol }
189189 isStakingAction
190- poolAddress = { poolAddress }
190+ poolAddress = { poolAddress ?? '' }
191191 />
192192 < PositiveInput
193193 placeholder = "Enter amount"
@@ -202,7 +202,7 @@ export const GeyserStakeView = () => {
202202 { ! ready && < ConnectWalletWarning onClick = { ( ) => connectWallet ( ) } /> }
203203 { ready && parsedUserInput . gt ( 0 ) && (
204204 < StakeWarning
205- poolAddress = { poolAddress }
205+ poolAddress = { poolAddress ?? '' }
206206 balance = { stakableAmount . sub ( parsedUserInput ) }
207207 staked = { currentStakeAmount }
208208 otherActiveLock = { otherActiveLock }
@@ -238,7 +238,7 @@ export const GeyserStakeView = () => {
238238 decimals = { stakingTokenDecimals }
239239 symbol = { stakingTokenSymbol }
240240 isStakingAction = { false }
241- poolAddress = { poolAddress }
241+ poolAddress = { poolAddress ?? '' }
242242 />
243243 < PositiveInput
244244 placeholder = "Enter amount"
0 commit comments