mirror of
https://github.com/gnmyt/myspeed.git
synced 2025-12-31 01:59:37 -06:00
Removed warnings
This commit is contained in:
@@ -79,6 +79,8 @@ function DropdownComponent() {
|
||||
const interval = setInterval(() => checkPauseStatus(), 15000);
|
||||
checkPauseStatus();
|
||||
return () => clearInterval(interval);
|
||||
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, []);
|
||||
|
||||
const updateDownload = async () => {
|
||||
|
||||
@@ -30,7 +30,7 @@ export const ConfigProvider = (props) => {
|
||||
window.location.reload();
|
||||
}
|
||||
}));
|
||||
}, []);
|
||||
}, [setDialog]);
|
||||
|
||||
return (
|
||||
<ConfigContext.Provider value={config}>
|
||||
|
||||
Reference in New Issue
Block a user