Update localization.md (#2263)

This commit is contained in:
Bryan Lumbantobing
2023-12-22 06:58:42 +08:00
committed by GitHub
parent bc31da47fd
commit 64dc8ff342
+1 -1
View File
@@ -32,7 +32,7 @@ import { Text } from "react-native";
const text = "Hello World";
<Text accessibilityLabel="Label is here">{text}</Text>
```
In this case, you cannot use the `useLingui()` hook:
In this case, you can use the `useLingui()` hook:
```jsx
import { msg } from "@lingui/macro";
import { useLingui } from "@lingui/react";