Skip to content

Commit

Permalink
chore: fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
KaiVandivier committed Oct 8, 2024
1 parent 23afcf1 commit 9d2fdfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/alerts/src/useAlert.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const useAlert = (
},
alertRef
// Conditional chaining gives backwards compatibility
// with cli-app-scripts < 11.7.2
// with cli-app-scripts < 12
)?.then((newAlert: Alert) => {
alertRef.current = newAlert
})
Expand Down

0 comments on commit 9d2fdfe

Please sign in to comment.