We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c8f8c3b + f3aac92 commit 6436ed8Copy full SHA for 6436ed8
src/features/items/index.js
@@ -81,7 +81,7 @@ const itemsSlice = createSlice({
81
initialState,
82
reducers: {
83
setCustomSellValue: (state, action) => {
84
- const item = state.data.find(i => i.id === action.payload.itemId);
+ const item = state.data.items.find(i => i.id === action.payload.itemId);
85
if (!item) {
86
return;
87
}
0 commit comments