fix(invariant): Remove event listener with "capture: true"
fix(invariant): Remove event listener with "capture: true"

Fixes https://sentry.nylas.com/sentry/edgehill/group/1831/

nirmit/nylas-mail,simonft/nylas-mail,nylas-mail-lives/nylas-mail,nylas/nylas-mail,nylas/nylas-mail,simonft/nylas-mail,nirmit/nylas-mail,nirmit/nylas-mail,nirmit/nylas-mail,nirmit/nylas-mail,simonft/nylas-mail,nylas/nylas-mail,simonft/nylas-mail,nylas/nylas-mail,nylas-mail-lives/nylas-mail,nylas-mail-lives/nylas-mail,nylas/nylas-mail,simonft/nylas-mail,nylas-mail-lives/nylas-mail,nylas-mail-lives/nylas-mail