fix typo
This commit is contained in:
parent
8f2b1b0be6
commit
283797dd4a
|
@ -45,7 +45,10 @@ export default function UploadProgress({
|
||||||
const [expanded, setExpanded] = useState(true);
|
const [expanded, setExpanded] = useState(true);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (appContext.watchServiceIsRunning && watchService.isUploadRunning) {
|
if (
|
||||||
|
appContext.watchServiceIsRunning &&
|
||||||
|
watchService.isUploadRunning()
|
||||||
|
) {
|
||||||
setExpanded(false);
|
setExpanded(false);
|
||||||
}
|
}
|
||||||
}, [appContext.watchServiceIsRunning]);
|
}, [appContext.watchServiceIsRunning]);
|
||||||
|
|
Loading…
Reference in a new issue