How to add new row in a table based on if condition in JSX REACT – Javascript
i have one table structure in my react app using jsx, here is my code... <div> <TableWrapper className="table-data-view table-responsive"> <ChartViewWrapper> <table align="center" className="record"> <thead> {!charts[0] || charts[0].freq === 6 ? ( <tr key="1"> <td>Date</td> <td colSpan="3">MON</td> <td colSpan="3">TUE</td> <td colSpan="3">WED</td>…