Selaa lähdekoodia

feat: chat add page title (#667)

Joel 1 vuosi sitten
vanhempi
commit
23e52f14e3
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  1. 3 0
      web/app/components/explore/universal-chat/index.tsx

+ 3 - 0
web/app/components/explore/universal-chat/index.tsx

@@ -76,6 +76,9 @@ const Main: FC<IMainProps> = () => {
   const media = useBreakpoints()
   const isMobile = media === MediaType.mobile
 
+  useEffect(() => {
+    document.title = `${t('explore.sidebar.chat')} -  Dify`
+  }, [])
   /*
   * app info
   */