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