From 801cee7b38e4465f7d8f62837e3ad5dafa5ac658 Mon Sep 17 00:00:00 2001 From: LeFredd Date: Tue, 13 Apr 2021 11:37:44 +0200 Subject: [PATCH] docs (Actions): fix `useDataProvider` instead of `useProvider` --- docs/Actions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Actions.md b/docs/Actions.md index 267e4fb739e..359348cfbcc 100644 --- a/docs/Actions.md +++ b/docs/Actions.md @@ -745,7 +745,7 @@ const ApproveButton = ({ record }) => { export default ApproveButton; ``` -And here is the `` component using the `withDataProvider` HOC instead of the `useProvider` hook: +And here is the `` component using the `withDataProvider` HOC instead of the `useDataProvider` hook: ```diff import { useState, useEffect } from 'react';