Skip to content

Commit 485ae40

Browse files
Apply suggestions from code review
Co-authored-by: Kayla Washburn-Love <mckayla@hey.com>
1 parent 2de86ac commit 485ae40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/src/api/api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1575,7 +1575,7 @@ export const watchBuildLogsByTemplateVersionId = (
15751575
});
15761576
socket.addEventListener("close", () => {
15771577
// When the socket closes, logs have finished streaming!
1578-
onDone && onDone();
1578+
onDone?.();
15791579
});
15801580
return socket;
15811581
};

0 commit comments

Comments
 (0)