File tree Expand file tree Collapse file tree 4 files changed +7
-34
lines changed
(public-fullwidth)/author/[authorId] Expand file tree Collapse file tree 4 files changed +7
-34
lines changed Original file line number Diff line number Diff line change 1- import "./globals.css"
1+ // import "./globals.css"
22
33import AuthProvider from "providers/authProvider"
44import { ToastContainer } from "react-toastify"
Original file line number Diff line number Diff 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 )
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -24,5 +24,4 @@ if (process.env.NODE_ENV === "production") {
2424 prisma = global . prisma
2525}
2626
27-
2827export default prisma
You can’t perform that action at this time.
0 commit comments