diff --git a/src/hooks/useSwapState.ts b/src/hooks/useSwapState.ts index 519c838..d9c52af 100644 --- a/src/hooks/useSwapState.ts +++ b/src/hooks/useSwapState.ts @@ -187,8 +187,14 @@ export const useSwapState = ({ account?.isEvmClaimed, pool, ); + if(!account){ + currentStatus="Wallet not connected"; + currentIsValid=false; + } + else{ currentStatus = text; currentIsValid = isValid; + } currentIsLoading = false; } dispatch(