Skip to content
/ ably-ui Public

Commit f1ca11f

Browse files
committed
Update Flash.tsx
1 parent 08fb496 commit f1ca11f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/core/Flash.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,8 @@ const BackendFlashes = ({ flashes }: BackendFlashesProps) => {
260260
context.addFlashes(transformedFlashes);
261261
}
262262

263-
}, [context, flashes]);
263+
// eslint-disable-next-line react-hooks/exhaustive-deps
264+
}, [flashes]);
264265

265266
if (!context) return null;
266267

0 commit comments

Comments
 (0)