\n \n All Races\n\n \n {allSeasonsList.map(({ year, racesByYearList }, i) => (\n \n {({ open }) => (\n <>\n \n \n {year}\n \n \n \n \n \n \n \n \n >\n )}\n \n ))}\n
\n \n );\n};\n\nRaces.propTypes = {\n data: PropTypes.shape({\n postgres: PropTypes.shape({\n allSeasonsList: PropTypes.arrayOf(\n PropTypes.shape({\n year: PropTypes.string.isRequired,\n racesByYearList: PropTypes.arrayOf(raceType).isRequired,\n })\n ),\n }).isRequired,\n }).isRequired,\n};\n\nexport default Races;\n"],"sourceRoot":""}