{postData.title}
35 |{formatDate(postData.date)}
36 |No data could be found for the post...
; 14 | } 15 | 16 | const formatDate = date => { 17 | const newDate = new Date(date); 18 | 19 | return `${newDate.getDate()}/${ 20 | newDate.getMonth() + 1 21 | }/${newDate.getFullYear()}`; 22 | }; 23 | 24 | return ( 25 |{formatDate(postData.date)}
36 |43 | 44 | back to articles 45 | 46 |
47 |17 | You can find more articles on the{' '} 18 | 19 | blog articles page 20 | 21 |
22 |