Skip to content

Commit 6ef52bb

Browse files
fix: remove console error
1 parent 8414dee commit 6ef52bb

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

ui/admin/app/components/signin/SignIn.tsx

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,7 @@ import { BootstrapForm } from "~/components/auth-and-model-providers/BootstrapFo
66
import { ProviderIcon } from "~/components/auth-and-model-providers/ProviderIcon";
77
import { ObotLogo } from "~/components/branding/ObotLogo";
88
import { Button } from "~/components/ui/button";
9-
import {
10-
Card,
11-
CardDescription,
12-
CardHeader,
13-
CardTitle,
14-
} from "~/components/ui/card";
9+
import { Card, CardDescription, CardHeader } from "~/components/ui/card";
1510
import { useAuthProviders } from "~/hooks/auth-providers/useAuthProviders";
1611
import { useAuthStatus } from "~/hooks/auth/useAuthStatus";
1712

@@ -43,9 +38,9 @@ export function SignIn({ className }: SignInProps) {
4338
)}
4439
>
4540
<CardHeader>
46-
<CardTitle className="flex items-center justify-center">
41+
<div className="flex items-center justify-center">
4742
<ObotLogo />
48-
</CardTitle>
43+
</div>
4944
{configuredAuthProviders.length > 0 && (
5045
<CardDescription className="mx-auto w-3/4 pt-4 text-center">
5146
Please sign in using an option below.

ui/admin/app/routes/_auth.agents.$agent.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ export default function ChatAgent() {
5656

5757
return (
5858
<ScrollArea className="h-full" enableScrollStick="bottom">
59-
<div className={cn("relative mx-auto flex h-full max-w-3xl flex-col")}>
59+
<div
60+
className={cn("relative mx-auto flex h-full max-w-screen-md flex-col")}
61+
>
6062
<AgentProvider agent={agent}>
6163
<Agent key={agent.id} />
6264
</AgentProvider>

0 commit comments

Comments
 (0)