redux toolkit cara mengatur keadaan awal kosong
const intialState = {
returned: []
}
const showOnReviewSlice = createSlice({
name: 'showOnReview',
initialState,
reducers: {
reset: state => initialState
}
});
Crazy Caracal