Skip to content

Commit 801cee7

Browse files
committed
docs (Actions): fix useDataProvider instead of useProvider
1 parent 3e31c86 commit 801cee7

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)