From b514c539286c81bdd0d2008f138ca1b743ce0fc0 Mon Sep 17 00:00:00 2001 From: Vivek Date: Tue, 26 Dec 2023 11:51:55 +0530 Subject: [PATCH] Fixed Add to Collections --- client/modules/IDE/components/AddToCollectionList.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/modules/IDE/components/AddToCollectionList.jsx b/client/modules/IDE/components/AddToCollectionList.jsx index fc5c161fdc..0cb4768c3e 100644 --- a/client/modules/IDE/components/AddToCollectionList.jsx +++ b/client/modules/IDE/components/AddToCollectionList.jsx @@ -39,7 +39,7 @@ class CollectionList extends React.Component { props.getProject(props.projectId); } - this.props.getCollections(this.props.username); + this.props.getCollections(this.props.user.username); this.state = { hasLoadedData: false