created a route for public collections

This commit is contained in:
Daniel
2023-05-29 23:10:23 +03:30
parent 271231120c
commit 7f9b0d8977
7 changed files with 117 additions and 6 deletions
-2
View File
@@ -29,8 +29,6 @@ const useAccountStore = create<AccountStore>()((set) => ({
const profilePic = await determineProfilePicSource(data);
console.log({ ...data.response, profilePic });
if (response.ok) set({ account: { ...data.response, profilePic } });
},
updateAccount: async (user) => {
-2
View File
@@ -25,8 +25,6 @@ const useCollectionStore = create<CollectionStore>()((set) => ({
const data = await response.json();
console.log(data);
if (response.ok) set({ collections: data.response });
},
addCollection: async (body) => {