diff --git a/src/app/[id]/layout.tsx b/src/app/[id]/layout.tsx index af41863..bd147dc 100644 --- a/src/app/[id]/layout.tsx +++ b/src/app/[id]/layout.tsx @@ -1,4 +1,4 @@ -import { ScrollArea } from '@/components/ui/scroll-area'; +import BackButton from '@/components/backButton/backButton'; export default function DetailLayout({ children, @@ -6,7 +6,8 @@ export default function DetailLayout({ children: React.ReactNode; }>) { return ( -
+
+ {children}
); diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 0979d2a..1c7a496 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -3,8 +3,6 @@ import { Inter } from 'next/font/google'; import './globals.css'; import Header from '@/components/header/header'; import GoTopButton from '@/components/goTopButton/goTopButton'; -import BackButton from '@/components/backButton/backButton'; -import { ScrollArea } from '@/components/ui/scroll-area'; import Sidebar from '@/components/sidebar/sidebar'; const inter = Inter({ subsets: ['latin'] }); @@ -32,7 +30,6 @@ export default function RootLayout({
- ); diff --git a/src/components/ui/input.tsx b/src/components/ui/input.tsx new file mode 100644 index 0000000..677d05f --- /dev/null +++ b/src/components/ui/input.tsx @@ -0,0 +1,25 @@ +import * as React from "react" + +import { cn } from "@/lib/utils" + +export interface InputProps + extends React.InputHTMLAttributes {} + +const Input = React.forwardRef( + ({ className, type, ...props }, ref) => { + return ( + + ) + } +) +Input.displayName = "Input" + +export { Input }