Skip to content

Commit 6436ed8

Browse files
authored
Merge branch 'main' into style/player-search-button
2 parents c8f8c3b + f3aac92 commit 6436ed8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/features/items/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ const itemsSlice = createSlice({
8181
initialState,
8282
reducers: {
8383
setCustomSellValue: (state, action) => {
84-
const item = state.data.find(i => i.id === action.payload.itemId);
84+
const item = state.data.items.find(i => i.id === action.payload.itemId);
8585
if (!item) {
8686
return;
8787
}

0 commit comments

Comments
 (0)