diff --git a/frontend/service/Autonolas.ts b/frontend/service/Autonolas.ts index 30a21edf1..f78a75bbf 100644 --- a/frontend/service/Autonolas.ts +++ b/frontend/service/Autonolas.ts @@ -319,8 +319,7 @@ const getServiceRegistryInfo = async ( const getCurrentStakingProgramByServiceId = async ( serviceId: number, ): Promise => { - - if (serviceId < 1) return null; + if (serviceId <= -1) return null; const contractCalls = Object.values(StakingProgram).reduce( (acc, stakingProgram: StakingProgram) => ({