mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
fix eslint warnings
This commit is contained in:
@@ -31,7 +31,7 @@ const useWindowSize = () => {
|
||||
return size;
|
||||
};
|
||||
|
||||
const LogEntryLine = styled('div')(({ theme }) => ({
|
||||
const LogEntryLine = styled('div')(() => ({
|
||||
color: '#bbbbbb',
|
||||
fontFamily: 'monospace',
|
||||
fontSize: '14px',
|
||||
@@ -125,7 +125,7 @@ const SystemLog: FC = () => {
|
||||
|
||||
useEffect(() => {
|
||||
void fetchLog();
|
||||
}, []);
|
||||
}, [fetchLog]);
|
||||
|
||||
useEffect(() => {
|
||||
const es = new EventSource(addAccessTokenParameter(LOG_EVENTSOURCE_URL));
|
||||
@@ -138,7 +138,7 @@ const SystemLog: FC = () => {
|
||||
return () => {
|
||||
es.close();
|
||||
};
|
||||
}, []);
|
||||
});
|
||||
|
||||
const saveSettings = async () => {
|
||||
if (data) {
|
||||
|
||||
Reference in New Issue
Block a user