Skip to content

Commit

Permalink
fix unneeded condition
Browse files Browse the repository at this point in the history
  • Loading branch information
truemiller committed Mar 8, 2024
1 parent 53dcee4 commit c69ef32
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 @@ -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');
Expand Down

0 comments on commit c69ef32

Please sign in to comment.