File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
packages/ra-core/src/dataProvider Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -206,7 +206,7 @@ export const useCreate = <
206206 dataProviderCreate . bind ( dataProvider )
207207 ) ;
208208 return args => {
209- // This is necessary to avoid breaking changes in useUpdate :
209+ // This is necessary to avoid breaking changes in useCreate :
210210 // The mutation function must have the same signature as before (resource, params) and not ({ resource, params })
211211 const { resource, ...params } = args ;
212212 return mutateWithMiddlewares ( resource , params ) ;
Original file line number Diff line number Diff line change @@ -260,7 +260,7 @@ export const useUpdateMany = <
260260 dataProviderUpdateMany . bind ( dataProvider )
261261 ) ;
262262 return args => {
263- // This is necessary to avoid breaking changes in useUpdate :
263+ // This is necessary to avoid breaking changes in useUpdateMany :
264264 // The mutation function must have the same signature as before (resource, params) and not ({ resource, params })
265265 const { resource, ...params } = args ;
266266 return mutateWithMiddlewares ( resource , params ) ;
You can’t perform that action at this time.
0 commit comments