Update dependencies.
This commit is contained in:
parent
1116b4595b
commit
a519c3d3bf
21 changed files with 621 additions and 629 deletions
|
|
@ -7,7 +7,6 @@ interface ChatLayoutProps {
|
|||
export default async function ChatLayout({ children }: ChatLayoutProps) {
|
||||
return (
|
||||
<div className="relative flex h-[calc(100vh_-_theme(spacing.16))] overflow-hidden">
|
||||
{/* @ts-ignore */}
|
||||
<SidebarDesktop />
|
||||
<div className="group w-full overflow-auto pl-0 animate-in duration-300 ease-in-out peer-[[data-state=open]]:lg:pl-[250px] peer-[[data-state=open]]:xl:pl-[300px]">
|
||||
{children}
|
||||
|
|
|
|||
|
|
@ -51,7 +51,6 @@ export default function RootLayout({ children }: RootLayoutProps) {
|
|||
disableTransitionOnChange
|
||||
>
|
||||
<div className="flex flex-col min-h-screen">
|
||||
{/* @ts-ignore */}
|
||||
<Header />
|
||||
<main className="flex flex-col flex-1 bg-muted/50">{children}</main>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ export default async function SignInPage() {
|
|||
if (session?.user) {
|
||||
redirect('/')
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="flex h-[calc(100vh-theme(spacing.16))] items-center justify-center py-10">
|
||||
<LoginButton />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue