Skip to content

Commit d7fe122

Browse files
committed
final edits
1 parent cf00dc4 commit d7fe122

File tree

3 files changed

+2
-13
lines changed

3 files changed

+2
-13
lines changed

client/modules/IDE/components/AssetList.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const AssetList = () => {
1717

1818
useEffect(() => {
1919
dispatch(AssetActions.getAssets());
20-
}, [dispatch]);
20+
}, []);
2121

2222
const hasAssets = () => !loading && assetList.length > 0;
2323

client/modules/IDE/components/CollectionList/CollectionList.jsx

+1-8
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,7 @@ const CollectionList = ({
4949
}
5050
getCollections(propsUsername || user.username);
5151
resetSorting();
52-
}, [
53-
projectId,
54-
getCollections,
55-
getProject,
56-
propsUsername,
57-
resetSorting,
58-
user.username
59-
]);
52+
}, []);
6053

6154
useEffect(() => {
6255
if (!loading) {

client/modules/IDE/components/Console.jsx

-4
Original file line numberDiff line numberDiff line change
@@ -227,10 +227,6 @@ const Console = () => {
227227
};
228228
});
229229

230-
useEffect(() => {
231-
console.log(isExpanded);
232-
}, [isExpanded]);
233-
234230
const consoleClass = classNames({
235231
'preview-console': true,
236232
'preview-console--collapsed': !isExpanded

0 commit comments

Comments
 (0)