Skip to content

Commit

Permalink
add Sidebar components
Browse files Browse the repository at this point in the history
  • Loading branch information
ngquyduc committed Jul 9, 2023
1 parent 563f4be commit 9847a09
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions app/users/layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import Sidebar from '../components/sidebar/Sidebar'

export default async function UserLayout({
children,
}: {
children: React.ReactNode
}) {
return (
// @ts-expect-error Server Component
<Sidebar>
<div className="h-full">{children}</div>
</Sidebar>
)
}

0 comments on commit 9847a09

Please sign in to comment.