mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-11 10:19:55 +03:00
fix eslint warnings
This commit is contained in:
@@ -83,6 +83,7 @@ export const useWs = <D>(wsUrl: string, wsThrottle = 100) => {
|
||||
}
|
||||
});
|
||||
ws.current = instance;
|
||||
// eslint-disable-next-line @typescript-eslint/unbound-method
|
||||
return instance.close;
|
||||
}, [wsUrl, onMessage]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user