mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
add back immediate for SSE calls (Alova bug)
This commit is contained in:
@@ -103,6 +103,7 @@ const SystemLog = () => {
|
|||||||
// eslint-disable-next-line @typescript-eslint/unbound-method
|
// eslint-disable-next-line @typescript-eslint/unbound-method
|
||||||
const { onMessage, onError } = useSSE(fetchLogES, {
|
const { onMessage, onError } = useSSE(fetchLogES, {
|
||||||
// withCredentials: true,
|
// withCredentials: true,
|
||||||
|
immediate: true,
|
||||||
interceptByGlobalResponded: false
|
interceptByGlobalResponded: false
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user