From 57be620a4f6c2a12a8cc67544cb41f219b93cd71 Mon Sep 17 00:00:00 2001 From: "younghoon100.park" Date: Mon, 30 Sep 2024 17:11:25 +0900 Subject: [PATCH] =?UTF-8?q?[=EC=A7=80=EB=9D=BC=20=EC=9D=B4=EC=8A=88=20?= =?UTF-8?q?=EC=97=86=EC=9D=8C]=20THeader.jsx,=20$L=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- com.twin.app.shoptime/src/components/THeader/THeader.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/com.twin.app.shoptime/src/components/THeader/THeader.jsx b/com.twin.app.shoptime/src/components/THeader/THeader.jsx index 8df71f8f..4f0eb7c7 100644 --- a/com.twin.app.shoptime/src/components/THeader/THeader.jsx +++ b/com.twin.app.shoptime/src/components/THeader/THeader.jsx @@ -6,6 +6,7 @@ import { Marquee } from "@enact/sandstone/Marquee"; import SpotlightContainerDecorator from "@enact/spotlight/SpotlightContainerDecorator"; import Spottable from "@enact/spotlight/Spottable"; +import { $L } from "../../utils/helperMethods"; import css from "./THeader.module.less"; const Container = SpotlightContainerDecorator( @@ -29,7 +30,7 @@ export default function THeader({ const convertedTitle = useMemo(() => { if (title) { const cleanedTitle = title.replace(/(\r\n|\n)/g, ""); - return marqueeDisabled ? title : cleanedTitle; + return $L(marqueeDisabled ? title : cleanedTitle); } }, [marqueeDisabled, title]);