Skip to content

Commit d1b53d7

Browse files
authoredApr 13, 2021
Merge pull request #6160 from f-jost/fix/docs/Actions
docs (Actions): fix `useDataProvider` instead of `useProvider`
2 parents 3e31c86 + 801cee7 commit d1b53d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎docs/Actions.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -745,7 +745,7 @@ const ApproveButton = ({ record }) => {
745745
export default ApproveButton;
746746
```
747747

748-
And here is the `<UserProfile>` component using the `withDataProvider` HOC instead of the `useProvider` hook:
748+
And here is the `<UserProfile>` component using the `withDataProvider` HOC instead of the `useDataProvider` hook:
749749

750750
```diff
751751
import { useState, useEffect } from 'react';

0 commit comments

Comments
 (0)
Please sign in to comment.