Skip to content

Instantly share code, notes, and snippets.

@Daltonic
Created December 20, 2023 16:53
Show Gist options
  • Save Daltonic/fa755c554d2d4bcb3768f17b5075f976 to your computer and use it in GitHub Desktop.
Save Daltonic/fa755c554d2d4bcb3768f17b5075f976 to your computer and use it in GitHub Desktop.
Dapp Bnb
export const globalActions = {
setApartments: (state, action) => {
state.apartments = action.payload
},
setApartment: (state, action) => {
state.apartment = action.payload
},
setReviews: (state, action) => {
state.reviews = action.payload
},
setReviewModal: (state, action) => {
state.reviewModal = action.payload
},
setSecurityFee: (state, action) => {
state.securityFee = action.payload
},
setBookings: (state, action) => {
state.bookings = action.payload
},
setBooking: (state, action) => {
state.booking = action.payload
},
setTimestamps: (state, action) => {
state.timestamps = action.payload
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment