room & office number fix sending
This commit is contained in:
@@ -702,7 +702,7 @@ const orderSlice = createSlice({
|
||||
}
|
||||
},
|
||||
updateOrder(state, action: PayloadAction<any>) {
|
||||
state.order = action.payload;
|
||||
state.order = { ...state.order, ...action.payload };
|
||||
if (typeof window !== "undefined") {
|
||||
localStorage.setItem(
|
||||
CART_STORAGE_KEYS.ORDER,
|
||||
|
||||
Reference in New Issue
Block a user