From c468520d91c08d818689588f9fb6224e4fff8708 Mon Sep 17 00:00:00 2001 From: misspia-cohere <140425731+misspia-cohere@users.noreply.github.com> Date: Mon, 10 Jun 2024 19:45:38 +0200 Subject: [PATCH] coral-web: Change default page head title from Coral --> Chat (#188) change default page head title Coral --> Chat --- .../coral_web/src/components/EditEnvVariablesButton.tsx | 2 +- src/interfaces/coral_web/src/components/Layout.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/interfaces/coral_web/src/components/EditEnvVariablesButton.tsx b/src/interfaces/coral_web/src/components/EditEnvVariablesButton.tsx index fe4a82ed40..e07dc80096 100644 --- a/src/interfaces/coral_web/src/components/EditEnvVariablesButton.tsx +++ b/src/interfaces/coral_web/src/components/EditEnvVariablesButton.tsx @@ -42,7 +42,7 @@ export const EditEnvVariablesButton: React.FC<{ className?: string }> = () => { export const EditEnvVariablesModal: React.FC<{ defaultDeployment: string; onClose: () => void; -}> = ({defaultDeployment, onClose }) => { +}> = ({ defaultDeployment, onClose }) => { const { data: deployments } = useListAllDeployments(); const [deployment, setDeployment] = useState(defaultDeployment); diff --git a/src/interfaces/coral_web/src/components/Layout.tsx b/src/interfaces/coral_web/src/components/Layout.tsx index 0e2e90494c..981dae8414 100644 --- a/src/interfaces/coral_web/src/components/Layout.tsx +++ b/src/interfaces/coral_web/src/components/Layout.tsx @@ -30,7 +30,7 @@ type Props = { * It shows the navigation bar, the left drawer and main content. * On small devices (e.g. mobile), the left drawer and main section are stacked vertically. */ -export const Layout: React.FC = ({ title = 'Coral', children }) => { +export const Layout: React.FC = ({ title = 'Chat', children }) => { const { message: bannerMessage } = useContext(BannerContext); const { settings: { isConvListPanelOpen, isMobileConvListPanelOpen },