Skip to content

Commit

Permalink
remove return undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
truemiller committed Mar 8, 2024
1 parent c69ef32 commit b6b65e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/hooks/useSpawn.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {};
Expand Down

0 comments on commit b6b65e0

Please sign in to comment.