From ac351b700c233c937131c59be8191cafa6c879c1 Mon Sep 17 00:00:00 2001 From: Joel Date: Fri, 10 Oct 2025 16:51:49 +0800 Subject: [PATCH] chore: some ui --- web/app/components/try/app/text-generation.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/app/components/try/app/text-generation.tsx b/web/app/components/try/app/text-generation.tsx index f4cdcc7d84..c795dc14c8 100644 --- a/web/app/components/try/app/text-generation.tsx +++ b/web/app/components/try/app/text-generation.tsx @@ -4,7 +4,6 @@ import React, { useCallback, useEffect, useRef, useState } from 'react' import cn from '@/utils/classnames' import useBreakpoints, { MediaType } from '@/hooks/use-breakpoints' import AppIcon from '@/app/components/base/app-icon' -import MenuDropdown from '@/app/components/share/text-generation/menu-dropdown' import Loading from '@/app/components/base/loading' import { appDefaultIconBackground } from '@/config' import RunOnce from '../../share/text-generation/run-once' @@ -21,6 +20,7 @@ import type { Task } from '../../share/text-generation/types' import Res from '@/app/components/share/text-generation/result' import { AppSourceType } from '@/service/share' import { TaskStatus } from '@/app/components/share/text-generation/types' +import useDocumentTitle from '@/hooks/use-document-title' type Props = { appId: string @@ -37,6 +37,7 @@ const TextGeneration: FC = ({ }) => { const media = useBreakpoints() const isPC = media === MediaType.pc + useDocumentTitle(appData?.site?.title || '') const [inputs, doSetInputs] = useState>({}) const inputsRef = useRef>(inputs) @@ -187,7 +188,7 @@ const TextGeneration: FC = ({ 'rounded-l-2xl', )}> {/* Header */} -
+
= ({ imageUrl={siteInfo.icon_url} />
{siteInfo.title}
-
{siteInfo.description && (
{siteInfo.description}