small changes

This commit is contained in:
Daniel
2023-04-25 16:09:46 +03:30
parent 4bfb08a52e
commit e715756cbe
6 changed files with 51 additions and 14 deletions
+2
View File
@@ -35,6 +35,8 @@ const useCollectionStore = create<CollectionStore>()((set) => ({
const data = await response.json();
console.log(data);
if (response.ok)
set((state) => ({
collections: [...state.collections, data.response],