From 6a62cf07fd11da052ab1a0a785218495cff481ad Mon Sep 17 00:00:00 2001 From: kyuhho Date: Mon, 23 Dec 2024 15:05:36 +0900 Subject: [PATCH 1/2] fix: remove showing undefine in helmet (#426) --- .../BuyerOpenConsultDetail/MainQuestionSection.tsx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/components/Buyer/BuyerOpenConsultDetail/MainQuestionSection.tsx b/src/components/Buyer/BuyerOpenConsultDetail/MainQuestionSection.tsx index be6cf971..05fbdffd 100644 --- a/src/components/Buyer/BuyerOpenConsultDetail/MainQuestionSection.tsx +++ b/src/components/Buyer/BuyerOpenConsultDetail/MainQuestionSection.tsx @@ -131,10 +131,13 @@ function MainQuestionSection() { return ( <> - - {`${card?.title} | 셰어마인드 공개 상담`} - - + {card && ( + + {`${card?.title} | 셰어마인드 공개 상담`} + + + )} +
From 18d31501b875061988126a9239ae88c38924df3e Mon Sep 17 00:00:00 2001 From: kyuhho Date: Mon, 23 Dec 2024 15:14:17 +0900 Subject: [PATCH 2/2] chore: remove meta tag from index.html to fix not appling issue (#426) --- public/index.html | 5 ----- src/App.tsx | 8 ++++++++ 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/public/index.html b/public/index.html index 2244527f..1996321f 100644 --- a/public/index.html +++ b/public/index.html @@ -84,10 +84,6 @@ /> - - 셰어마인드 - 경험 공유 연애상담 플랫폼 diff --git a/src/App.tsx b/src/App.tsx index 99d5ee4d..e8db31fd 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,8 +1,16 @@ import Router from 'Router'; +import { Helmet } from 'react-helmet'; function App() { return (
+ + 셰어마인드 - 경험 공유 연애상담 플랫폼 + +
);