Skip to content

Commit

Permalink
docs: Fix typo (closes #1599)
Browse files Browse the repository at this point in the history
  • Loading branch information
amannn authored Dec 11, 2024
1 parent f1fa834 commit 529ce6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/pages/docs/usage/configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ The configured time zone can be read via `useTimeZone` or `getTimeZone` in compo
```tsx
// Regular components
import {useTimeZone} from 'next-intl';
const messages = useTimeZone();
const timeZone = useTimeZone();
// Async Server Components
import {getTimeZone} from 'next-intl/server';
Expand Down

0 comments on commit 529ce6e

Please sign in to comment.