Skip to content

Commit

Permalink
docs: fix import statement in the code sample
Browse files Browse the repository at this point in the history
  • Loading branch information
andrii-bodnar committed Jan 28, 2025
1 parent f0566fb commit df31f62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/tutorials/react.md
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ Dates (as well as numbers) are formatted differently in different languages, but
The `i18n` object can be accessed with the [`useLingui`](/ref/react#uselingui) hook:

```jsx title="src/Inbox.js" {4,9}
import { useLingui } from "@lingui/react";
import { useLingui, Trans } from "@lingui/react/macro";

export default function Inbox() {
const { i18n } = useLingui();
Expand Down

0 comments on commit df31f62

Please sign in to comment.