Skip to content

Commit 543196b

Browse files
authored
fix readme
useNetlifyIdentity api changed, should be useIdentityContext
1 parent 4d8b601 commit 543196b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ we require some peer dependencies:
1616
yarn add react-netlify-identity-widget @reach/dialog @reach/tabs @reach/visually-hidden
1717
```
1818

19-
and the styles are optional but provided. here's how to use `IdentityModal, useNetlifyIdentity, IdentityContextProvider`:
19+
and the styles are optional but provided. here's how to use `IdentityModal, useIdentityContext, IdentityContextProvider`:
2020

2121
```tsx
2222
import React from "react"

0 commit comments

Comments
 (0)