Skip to content

Commit 529ce6e

Browse files
authored
docs: Fix typo (closes amannn#1599)
1 parent f1fa834 commit 529ce6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/pages/docs/usage/configuration.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ The configured time zone can be read via `useTimeZone` or `getTimeZone` in compo
362362
```tsx
363363
// Regular components
364364
import {useTimeZone} from 'next-intl';
365-
const messages = useTimeZone();
365+
const timeZone = useTimeZone();
366366
367367
// Async Server Components
368368
import {getTimeZone} from 'next-intl/server';

0 commit comments

Comments
 (0)