Files
penpot/frontend
Andrey Antukh e730e9ee64 🐛 Fix subscribe to undefined stream error in use-stream hook (#8633)
Add a nil guard before subscribing to the stream in the use-stream
hook. When a nil/undefined stream is passed (e.g., from a conditional
expression or timing edge case during React rendering), the subscribe
call on undefined causes a TypeError. The guard ensures we only
subscribe when the stream is defined.

Signed-off-by: Andrey Antukh <niwi@niwi.nz>
2026-03-17 10:06:16 +01:00
..
2026-01-22 13:55:41 +01:00
2026-02-26 12:19:15 +01:00
2026-02-13 13:17:08 +01:00
2026-02-24 00:07:30 +01:00
2026-02-10 08:29:24 +01:00