Typo Fix
This commit is contained in:
parent
1affdf6274
commit
9849e54e88
|
@ -14,7 +14,7 @@ export const recipeReducer = (state, action) => {
|
|||
return { ...state, searchQuery: action?.payload };
|
||||
case 'SET_FILTER':
|
||||
return {
|
||||
...state, filters: { ...state?.filter, [action?.field]: action?.payload },
|
||||
...state, filters: { ...state?.filters, [action?.field]: action?.payload },
|
||||
};
|
||||
case 'SET_SELECTED_RECIPE':
|
||||
return { ...state, selectedRecipe: action?.payload };
|
||||
|
|
Loading…
Reference in a new issue