Skip to content

Commit

Permalink
docs: minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
amannn committed Nov 15, 2024
1 parent 6f1a39d commit 486a7bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/src/pages/docs/usage/dates-times.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ function FormattedDate({date}) {

In contrast to simply calling `new Date()` in your component, `useNow` has some benefits:

1. The returned value is consistent across re-renders.
1. The returned value is consistent across re-renders on the client side.
2. The value can optionally be [updated continuously](#relative-times-update) based on an interval.
3. The value can optionally be initialized from a [global value](/docs/usage/configuration#now), e.g. allowing you to use a static `now` value to ensure consistency when running tests.

Expand Down
2 changes: 1 addition & 1 deletion docs/src/pages/docs/workflows/typescript.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ import {createNextIntlPlugin} from 'next-intl/plugin';

const withNextIntl = createNextIntlPlugin({
experimental: {
// Use the path to the messages that you're using in `AppConfig`
// Provide the path to the messages that you're using in `AppConfig`
createMessagesDeclaration: './messages/en.json'
}
// ...
Expand Down

0 comments on commit 486a7bd

Please sign in to comment.