Skip to content

Commit 42390b9

Browse files
committed
Fix page layout
1 parent 9142bb8 commit 42390b9

File tree

4 files changed

+7
-25
lines changed

4 files changed

+7
-25
lines changed
File renamed without changes.

src/app/layout.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1+
import "@assets/css/tailwind.css";
2+
13
export const metadata = {
24
title: "Next.js",
35
description: "Generated by Next.js",
46
};
57

6-
export const RootLayout = ({ children }: { children: React.ReactNode }) => {
8+
export default function RootLayout({ children }: { children: React.ReactNode }) {
79
return (
810
<html lang="en">
911
<body>{children}</body>
1012
</html>
1113
);
12-
};
13-
14-
export default RootLayout;
14+
}

src/app/vetsai/layout.tsx

Lines changed: 0 additions & 17 deletions
This file was deleted.

src/app/vetsai/page.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ import {
1414
BreadcrumbPage,
1515
BreadcrumbSeparator,
1616
} from "@/components/vetsai/ui/breadcrumb";
17+
import "@assets/css/vetsai.css";
1718

18-
export const Assistant = () => {
19+
export default function Assistant() {
1920
const runtime = useChatRuntime({
2021
api: "/api/chat",
2122
});
@@ -47,6 +48,4 @@ export const Assistant = () => {
4748
</SidebarProvider>
4849
</AssistantRuntimeProvider>
4950
);
50-
};
51-
52-
export default Assistant;
51+
}

0 commit comments

Comments
 (0)