Posts by Natan Da Silva • 13 points
1 post
-
0
votes1
answer229
viewsQ: State returning Undefined
I’m not much for asking, right, but it’s keeping me up at night... I have the following function to format dates const DataFormat = (props) => { const data = props.split('T'); const [year, month,…