Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
This will irreversibly remove all results
from ${event.name} - ${round.name}.
`,
})}
disabled={clearLoading}
>
Clear
)}
{clearError && }
);
};
export default withConfirm(RoundListItem);
['ArrowUp', 'ArrowDown', 'Enter'].includes(event.key) &&
event.target === document.body
) {
const [firstInput] = getInputs(container);
if (firstInput) {
firstInput.focus();
firstInput.select();
}
}
};
window.addEventListener('keydown', handleKeyPress);
return () => window.removeEventListener('keydown', handleKeyPress);
}, [container]);
};
export default withConfirm(ResultForm);
>
))}
{error && }
);
};
export default withRouter(withConfirm(AdminCompetitionList));
{
setQuitDialogOpen(false);
onClose();
}}
competitor={result.person}
competitionId={competitionId}
roundId={roundId}
/>
)}
);
};
export default withConfirm(ResultMenu);