<div id="chart"> <ReactApexChart options={state.options} series={state.series} type="bar" height={380} /> </div>