deleted a comment

This commit is contained in:
ronronscelestes 2021-08-17 14:01:31 +02:00
parent a94929d2db
commit 5ce9d2c209

View File

@ -200,28 +200,6 @@ function ListView() {
}
};
// const handleSelectAllCheckbox = () => {
// const webhooksIds = webhooks.map(webhook => webhook.id);
// if (webhooksToDelete.length === 0) {
// webhooksIds.forEach(webhookId => {
// dispatch({
// type: 'SET_WEBHOOKS_TO_DELETE',
// value: true,
// id: webhookId,
// });
// });
// } else {
// webhooksIds.forEach(webhookId => {
// dispatch({
// type: 'SET_WEBHOOKS_TO_DELETE',
// value: false,
// id: webhookId,
// });
// });
// }
// };
const handleSelectAllCheckbox = () => {
dispatch({
type: 'SET_ALL_WEBHOOKS_TO_DELETE',