Recent jobs.
- { - this.state.jobsDataResults.map((i, index) => { - var options = { weekday: 'long', year: 'numeric', month: 'long', day: 'numeric' }; - var postDt = new Date(i.expire).toLocaleDateString("en-US", options); - let hourRemaining = Math.floor(Math.abs(new Date() - new Date(i.expire)) / (1000*60*60)) - if(index < 5){ - return ( -{hourRemaining > 24 ? `available in the next ${hourRemaining%24} ${hourRemaining%24 > 1 ? 'days':'day'}` : `available in the next 12hrs 30mins`}
- - Learn More - -Recent jobs.
+ + { + jobs.map((i, index) => { + var options = { weekday: 'long', year: 'numeric', month: 'long', day: 'numeric' }; + var postDt = new Date(i.expire).toLocaleDateString("en-US", options); + let hourRemaining = Math.floor(Math.abs(new Date() - new Date(i.expire)) / (1000*60*60)) + + if(index < 5){ + return ( +{hourRemaining > 24 ? `available in the next ${hourRemaining%24} ${hourRemaining%24 > 1 ? 'days':'day'}` : `available in the next 12hrs 30mins`}
+ + Learn More +