From 23e52f14e3562bc4fc52ed2787265cf35a934687 Mon Sep 17 00:00:00 2001 From: Joel Date: Fri, 28 Jul 2023 14:44:45 +0800 Subject: [PATCH] feat: chat add page title (#667) --- web/app/components/explore/universal-chat/index.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web/app/components/explore/universal-chat/index.tsx b/web/app/components/explore/universal-chat/index.tsx index 9a66fdcfb0..ff77c40329 100644 --- a/web/app/components/explore/universal-chat/index.tsx +++ b/web/app/components/explore/universal-chat/index.tsx @@ -76,6 +76,9 @@ const Main: FC = () => { const media = useBreakpoints() const isMobile = media === MediaType.mobile + useEffect(() => { + document.title = `${t('explore.sidebar.chat')} - Dify` + }, []) /* * app info */