From 543196bf179b4360a49129c5733ba9814c2f7cd5 Mon Sep 17 00:00:00 2001 From: Jexxie <1989wjx@gmail.com> Date: Sat, 1 Jun 2019 18:00:16 +0800 Subject: [PATCH] fix readme useNetlifyIdentity api changed, should be useIdentityContext --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1b082c2..6a9d478 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ we require some peer dependencies: yarn add react-netlify-identity-widget @reach/dialog @reach/tabs @reach/visually-hidden ``` -and the styles are optional but provided. here's how to use `IdentityModal, useNetlifyIdentity, IdentityContextProvider`: +and the styles are optional but provided. here's how to use `IdentityModal, useIdentityContext, IdentityContextProvider`: ```tsx import React from "react"