Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
await allEvents.forEach(async item => {
if (item.notes === '由应用UESTC创建') {
await RNCalendarEvents.removeEvent(item.id, {
futureEvents: true
});
}
});
};