Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions frontend/app/[locale]/chat/components/chatHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,6 @@ export function ChatHeader({ title, onRename }: ChatHeaderProps) {
const { confirm } = useConfirmModal();
const isAdmin = isSpeedMode || user?.role === USER_ROLES.ADMIN;

const goToModelSetup = () => {
saveView("models");
router.push(`/${i18n.language}`);
};

const showAutoOffConfirm = () => {
confirm({
title: t("embedding.chatMemoryAutoDeselectModal.title"),
Expand All @@ -49,13 +44,6 @@ export function ChatHeader({ title, onRename }: ChatHeaderProps) {
{t("embedding.chatMemoryAutoDeselectModal.tip")}
</div>
)}
{isAdmin && (
<div className="mt-4 flex justify-end">
<Button type="primary" danger onClick={goToModelSetup}>
{t("embedding.chatMemoryAutoDeselectModal.ok_config")}
</Button>
</div>
)}
</div>
),
});
Expand Down
2 changes: 1 addition & 1 deletion frontend/components/homepage/HomepageContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export function HomepageContent({
const { user, isSpeedMode } = useAuth();

return (
<div className="w-full max-w-7xl h-full">
<div className="w-full max-w-7xl flex flex-col items-center justify-center">
{/* Hero area */}
<section className="relative w-full py-4 flex flex-col items-center justify-center text-center">
<div className="absolute inset-0 bg-grid-slate-200 dark:bg-grid-slate-800 [mask-image:radial-gradient(ellipse_at_center,white_20%,transparent_75%)] -z-10"></div>
Expand Down