Replying to @aarongarciah

@aarongarciah
@wolframkriesing I prefer that bu would
write:

const createDates = ({ date, ...hotel }) => ({ ...hotel, dates: [date] })

so it's clearer what the rest is (technically a hotel without a date).

Sat, 06 Aug 2022 21:16:19 UTC1