diff --git a/frontend/hooks/useSpawn.tsx b/frontend/hooks/useSpawn.tsx index 006b282ae..a554fd3dd 100644 --- a/frontend/hooks/useSpawn.tsx +++ b/frontend/hooks/useSpawn.tsx @@ -17,7 +17,7 @@ const getAgentFundRequirements = ({ serviceTemplate: ServiceTemplate; service: Service; }): FundingRecord | undefined => { - if (!serviceTemplate || !service?.chain_data.instances) return undefined; + if (!serviceTemplate || !service?.chain_data.instances) return; // Agent funding requirements let agentFundRequirements: FundingRecord = {};