Skip to content

Commit 17d4488

Browse files
docs: fix import statement in the code sample (#2162)
1 parent f0566fb commit 17d4488

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/docs/tutorials/react.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ Dates (as well as numbers) are formatted differently in different languages, but
398398
The `i18n` object can be accessed with the [`useLingui`](/ref/react#uselingui) hook:
399399

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

403403
export default function Inbox() {
404404
const { i18n } = useLingui();

0 commit comments

Comments
 (0)