File tree Expand file tree Collapse file tree 3 files changed +4
-8
lines changed Expand file tree Collapse file tree 3 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 11.main {
22 display : flex;
33 flex-direction : column;
4- justify-content : space-between;
4+ gap : 16px ;
5+ /* justify-content: ; */
56 align-items : center;
67 padding : 6rem ;
78 min-height : 100vh ;
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ export default async function Home({
3535 { threads . data ?. threads . map ( ( thread ) => {
3636 return (
3737 < div key = { `thread-row-${ thread . id } ` } >
38- { thread . title } { thread . id }
38+ < a href = { `/ thread/ ${ thread . id } ` } > { thread . title } </ a >
3939 </ div >
4040 ) ;
4141 } ) }
Original file line number Diff line number Diff line change @@ -65,10 +65,5 @@ export default async function ThreadPage({
6565 . catch ( ( err ) => {
6666 console . log ( err ) ;
6767 } ) ;
68- return (
69- < div >
70- { params . threadId }
71- { JSON . stringify ( { data } ) }
72- </ div >
73- ) ;
68+ return < div > { JSON . stringify ( data , null , 2 ) } </ div > ;
7469}
You can’t perform that action at this time.
0 commit comments