I saw this error happening in staging reported in Sentry logs, which was worrisome so I investigated and found a small syntax error in Login.js using this.errorToast.show() instead of this.errorToast.current.show(). I also adjusted how state is set so it isn't set directly which is bad form and can lead to bugs (more on why it's bad form here if curious).
I saw this error happening in staging reported in Sentry logs, which was worrisome so I investigated and found a small syntax error in
Login.js
usingthis.errorToast.show()
instead ofthis.errorToast.current.show()
. I also adjusted how state is set so it isn't set directly which is bad form and can lead to bugs (more on why it's bad form here if curious).