Skip to content

Commit ed7a2ad

Browse files
committed
feat: update post
1 parent 1d92f46 commit ed7a2ad

File tree

4 files changed

+7
-34
lines changed

4 files changed

+7
-34
lines changed

apps/admin/app/[lang]/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import "./globals.css"
1+
// import "./globals.css"
22

33
import AuthProvider from "providers/authProvider"
44
import { ToastContainer } from "react-toastify"

apps/web/app/(public-fullwidth)/author/[authorId]/page.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,12 @@ export default async function Page({ params }: { params: { authorId: string } })
1414
<div className="grid grid-cols-12 gap-10">
1515
<UserProfile author={author} />
1616
<div className="col-span-8 rounded-md">
17-
{author?.post?.map((post) => <PostItem key={post?.id} post={post} />)}
17+
{author?.post?.map((post) => (
18+
<PostItem
19+
key={post?.id}
20+
post={post}
21+
/>
22+
))}
1823
</div>
1924
</div>
2025
)

apps/web/app/layout.tsx

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

packages/database/src/prisma.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,4 @@ if (process.env.NODE_ENV === "production") {
2424
prisma = global.prisma
2525
}
2626

27-
2827
export default prisma

0 commit comments

Comments
 (0)