Skip to content

Commit 486a7bd

Browse files
committed
docs: minor fixes
1 parent 6f1a39d commit 486a7bd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/src/pages/docs/usage/dates-times.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ function FormattedDate({date}) {
9494

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

97-
1. The returned value is consistent across re-renders.
97+
1. The returned value is consistent across re-renders on the client side.
9898
2. The value can optionally be [updated continuously](#relative-times-update) based on an interval.
9999
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.
100100

docs/src/pages/docs/workflows/typescript.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ import {createNextIntlPlugin} from 'next-intl/plugin';
157157

158158
const withNextIntl = createNextIntlPlugin({
159159
experimental: {
160-
// Use the path to the messages that you're using in `AppConfig`
160+
// Provide the path to the messages that you're using in `AppConfig`
161161
createMessagesDeclaration: './messages/en.json'
162162
}
163163
// ...

0 commit comments

Comments
 (0)