From c69ef3279e51a3e13c3307b88c40f8d714ada955 Mon Sep 17 00:00:00 2001 From: Josh Miller Date: Fri, 8 Mar 2024 11:38:45 +0000 Subject: [PATCH] fix unneeded condition --- frontend/hooks/useSpawn.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/hooks/useSpawn.tsx b/frontend/hooks/useSpawn.tsx index bc8dafac3..006b282ae 100644 --- a/frontend/hooks/useSpawn.tsx +++ b/frontend/hooks/useSpawn.tsx @@ -126,7 +126,7 @@ export const useSpawn = () => { const serviceTemplate = getServiceTemplate(serviceTemplateHash); if (!serviceTemplate) throw new Error('Service template not found'); - if (screen && screen !== null) { + if (screen) { // Funding resume required const service = getServiceFromState(serviceTemplateHash); if (!service) throw new Error('Service not found');