[Accessibility] Fix typo in upateItemErrorRequestId function name (#48702)

* Fix typo in upateItemErrorRequestId function name

* Add changelog file
This commit is contained in:
Gabriel Manussakis 2024-06-25 05:54:46 -03:00 committed by GitHub
parent e0322c57fe
commit 525cd4f946
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 3 deletions

View File

@ -0,0 +1,4 @@
Significance: minor
Type: tweak
Fix misspelling in CRUD reducer

View File

@ -298,7 +298,7 @@ export const createReducer = (
}; };
case TYPES.UPDATE_ITEM_ERROR: case TYPES.UPDATE_ITEM_ERROR:
const upateItemErrorRequestId = getRequestIdentifier( const updateItemErrorRequestId = getRequestIdentifier(
payload.errorType, payload.errorType,
payload.key, payload.key,
payload.query payload.query
@ -307,11 +307,11 @@ export const createReducer = (
...state, ...state,
errors: { errors: {
...state.errors, ...state.errors,
[ upateItemErrorRequestId ]: payload.error, [ updateItemErrorRequestId ]: payload.error,
}, },
requesting: { requesting: {
...state.requesting, ...state.requesting,
[ upateItemErrorRequestId ]: false, [ updateItemErrorRequestId ]: false,
}, },
}; };