From 07dcd611603158674e7b02c17de1edcfa8ef74e4 Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Thu, 19 Feb 2026 11:14:03 +0200 Subject: [PATCH] Update localization.md --- docs/localization.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/localization.md b/docs/localization.md index 37a046cb5a..4242de8511 100644 --- a/docs/localization.md +++ b/docs/localization.md @@ -104,7 +104,7 @@ import { useLingui } from "@lingui/react/macro"; const { t } = useLingui(); return {text} -```` +``` If you want to do this outside of a React component, you can use the global `t` macro instead (note: this won't react to changes if the locale is switched dynamically within the app): ```jsx