Redux Toolkit como definir o estado inicial vazio
const intialState = {
returned: []
}
const showOnReviewSlice = createSlice({
name: 'showOnReview',
initialState,
reducers: {
reset: state => initialState
}
});
Crazy Caracal