import{createSlice as o}from"@reduxjs/toolkit";var c={selectedCollectionId:null,showMint:!1,collectionViewOpen:!1,selectedSpaceId:!1},l=o({name:"collection",initialState:c,reducers:{updateSelectedCollectionId(e,{payload:{id:t}}){e.selectedCollectionId=t},updateShowMint(e,{payload:{showMint:t}}){e.showMint=t},updateCollectionViewOpen(e,{payload:{collectionViewOpen:t}}){e.collectionViewOpen=t},updateSelectedSpaceId(e,{payload:{id:t}}){e.selectedSpaceId=t}}}),{updateSelectedCollectionId:a,updateShowMint:i,updateCollectionViewOpen:n,updateSelectedSpaceId:p}=l.actions,s=l.reducer;export{s as default,c as initialState,n as updateCollectionViewOpen,a as updateSelectedCollectionId,p as updateSelectedSpaceId,i as updateShowMint};
