diff --git a/src/components/Collections/CollectionOptions/index.tsx b/src/components/Collections/CollectionOptions/index.tsx index e89bc5ead..cfaa96ce1 100644 --- a/src/components/Collections/CollectionOptions/index.tsx +++ b/src/components/Collections/CollectionOptions/index.tsx @@ -119,9 +119,9 @@ const CollectionOptions = (props: CollectionOptionsProps) => { }; }; - const renameCollection = (newName: string) => { + const renameCollection = async (newName: string) => { if (activeCollection.name !== newName) { - CollectionAPI.renameCollection(activeCollection, newName); + await CollectionAPI.renameCollection(activeCollection, newName); } };