fix: minor fix

This commit is contained in:
sawhil 2025-03-27 13:38:02 +05:30 committed by Sahil Khan
parent ba33c885d5
commit 30b689037a

View File

@ -146,6 +146,7 @@ export function EventSourceProvider({
setIsConnectionLoading(true);
setIsConnectionError(false);
setReconnectDueToError(false);
eventSourceRef.current.addEventListener('error', handleErrorConnection);
eventSourceRef.current.addEventListener('open', handleOpenConnection);