From 334a5a5ab100e49a55092979b0fc9b00ea82fbb7 Mon Sep 17 00:00:00 2001 From: Ward Oosterlijnck Date: Wed, 10 Jul 2019 21:34:18 +1000 Subject: [PATCH] docs: usePermission wording --- README.md | 2 +- docs/usePermission.md | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 156047304f..8a7bdeccfe 100644 --- a/README.md +++ b/README.md @@ -97,7 +97,7 @@ - [`useSessionStorage`](./docs/useSessionStorage.md) — manages a value in `sessionStorage`. - [`useThrottle` and `useThrottleFn`](./docs/useThrottle.md) — throttles a function. [![][img-demo]](https://streamich.github.io/react-use/?path=/story/side-effects-usethrottle--demo) - [`useTitle`](./docs/useTitle.md) — sets title of the page. - - [`usePermission`](./docs/usePermission.md) — query permission from the user depends on the specific API. + - [`usePermission`](./docs/usePermission.md) — query permission status for browser APIs.

- [**Lifecycles**](./docs/Lifecycles.md) diff --git a/docs/usePermission.md b/docs/usePermission.md index cc793240f2..4c0080b22d 100644 --- a/docs/usePermission.md +++ b/docs/usePermission.md @@ -1,7 +1,6 @@ # `usePermission` -React side-effect hook that query permission status from the user depends on the specific API. - +React side-effect hook to query permission status of browser APIs. ## Usage