Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
_findReminders = async (id: string) => {
const reminders = await Calendar.getRemindersAsync([id], null, new Date(), new Date());
this.setState({ reminders });
}