Skip to content

Commit

Permalink
fix: remove console error
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanhopperlowe committed Feb 10, 2025
1 parent 8414dee commit 6ef52bb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
11 changes: 3 additions & 8 deletions ui/admin/app/components/signin/SignIn.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,7 @@ import { BootstrapForm } from "~/components/auth-and-model-providers/BootstrapFo
import { ProviderIcon } from "~/components/auth-and-model-providers/ProviderIcon";
import { ObotLogo } from "~/components/branding/ObotLogo";
import { Button } from "~/components/ui/button";
import {
Card,
CardDescription,
CardHeader,
CardTitle,
} from "~/components/ui/card";
import { Card, CardDescription, CardHeader } from "~/components/ui/card";
import { useAuthProviders } from "~/hooks/auth-providers/useAuthProviders";
import { useAuthStatus } from "~/hooks/auth/useAuthStatus";

Expand Down Expand Up @@ -43,9 +38,9 @@ export function SignIn({ className }: SignInProps) {
)}
>
<CardHeader>
<CardTitle className="flex items-center justify-center">
<div className="flex items-center justify-center">
<ObotLogo />
</CardTitle>
</div>
{configuredAuthProviders.length > 0 && (
<CardDescription className="mx-auto w-3/4 pt-4 text-center">
Please sign in using an option below.
Expand Down
4 changes: 3 additions & 1 deletion ui/admin/app/routes/_auth.agents.$agent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ export default function ChatAgent() {

return (
<ScrollArea className="h-full" enableScrollStick="bottom">
<div className={cn("relative mx-auto flex h-full max-w-3xl flex-col")}>
<div
className={cn("relative mx-auto flex h-full max-w-screen-md flex-col")}
>
<AgentProvider agent={agent}>
<Agent key={agent.id} />
</AgentProvider>
Expand Down

0 comments on commit 6ef52bb

Please sign in to comment.