Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const SectionEnrollmentCell = withStyles(styles)((props) => {
const {
classes,
numCurrentlyEnrolled,
maxCapacity,
numOnWaitlist,
numNewOnlyReserved,
} = props;
const popupState = usePopupState({ variant: 'popover' });
return (
<div>
<strong>
{`${numCurrentlyEnrolled.totalEnrolled}` +
' / ' +
`${maxCapacity}` +
'\n'}
</strong>
{`WL: ${numOnWaitlist}` + '\n' + `NOR: ${numNewOnlyReserved}`}
</div>