Redux Toolkit Cómo establecer el estado inicial vacío
const intialState = {
returned: []
}
const showOnReviewSlice = createSlice({
name: 'showOnReview',
initialState,
reducers: {
reset: state => initialState
}
});
Crazy Caracal