Skip to content

Commit

Permalink
chore: updated the pr #696 with the suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
LetItRock committed Sep 18, 2024
1 parent a19e6f9 commit a325526
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion inbox/react/hooks/novu-provider.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import NovuProviderExample from '/snippets/inbox/react/novu-provider-example.mdx
import NovuParams from '/snippets/inbox/headless/api-reference/novu-params.mdx';

The `NovuProvider` is the top-level component that provides the [Novu instance](/inbox/headless/api-reference#novu) to the rest of the hooks through the context.
Usually it's placed somewhere at the root of your application, which allows the hooks to be accessible throughout the application.
Usually, it's placed somewhere in the root of your application, which makes the hooks accessible throughout the application.

## `NovuProvider` props

Expand Down
3 changes: 2 additions & 1 deletion inbox/react/hooks/use-counts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ The hook listens for changes in notification counts and will automatically refet
notification counts fetched yet, it will be `undefined`.
</ParamField>
<ParamField path="isLoading" type="boolean">
A boolean value indicating whether the notification counts are being fetched.
A boolean value indicating the first fetch for notification counts is
in-flight.
</ParamField>
<ParamField path="isFetching" type="boolean">
A boolean value indicating whether the hook is fetching more notification
Expand Down
2 changes: 1 addition & 1 deletion inbox/react/hooks/use-notifications.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Any action performed on a notification instance, like marking it as read, will o
fetched yet, it will be `undefined`.
</ParamField>
<ParamField path="isLoading" type="boolean">
A boolean value indicating whether the notifications are being fetched.
A boolean value indicating the first fetch for notifications is in-flight.
</ParamField>
<ParamField path="isFetching" type="boolean">
A boolean value indicating whether the hook is fetching more notifications.
Expand Down
2 changes: 1 addition & 1 deletion inbox/react/hooks/use-preferences.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ By default the preferences are cached, but you can use the `refetch` function to
preferences fetched yet, it will be `undefined`.
</ParamField>
<ParamField path="isLoading" type="boolean">
A boolean value indicating whether the preferences are being fetched.
A boolean value indicating the first fetch for preferences is in-flight.
</ParamField>
<ParamField path="isFetching" type="boolean">
A boolean value indicating whether the hook is fetching more preferences.
Expand Down

0 comments on commit a325526

Please sign in to comment.