🐛 Fixing useEffect
This commit is contained in:
parent
d8c5deeb75
commit
e741db098d
@ -452,12 +452,10 @@ export default function FolderInformation(props: IProps) {
|
|||||||
}, [folderUid]);
|
}, [folderUid]);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
setIsLoading(true);
|
||||||
getFolder();
|
getFolder();
|
||||||
}, [getFolder]);
|
}, [getFolder]);
|
||||||
|
|
||||||
useEffect(() => {
|
|
||||||
setIsLoading(true);
|
|
||||||
}, [folderUid]);
|
|
||||||
return (
|
return (
|
||||||
<FolderInformationClass
|
<FolderInformationClass
|
||||||
{...props}
|
{...props}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user