Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

From Sentry: Cannot read properties of undefined (reading 'toLowerCase') #3141

Closed
sentry-io bot opened this issue Dec 23, 2023 · 2 comments · Fixed by #3149
Closed

From Sentry: Cannot read properties of undefined (reading 'toLowerCase') #3141

sentry-io bot opened this issue Dec 23, 2023 · 2 comments · Fixed by #3149
Labels
good first issue Good for newcomers scope: front Issues that are affecting the frontend side only

Comments

@sentry-io
Copy link

sentry-io bot commented Dec 23, 2023

Context:

  margin-top: ${({theme:e})=>e.spacing(8)};
  width: 200px;
{snip} E.useCallback(()=>{w({variables:{email:h.getValues("email").toLowerCase()},onCompleted:C=>{C!=null&&C.checkUserExists.exists?u("sign-in"):u( {snip}
  align-items: center;

email: form.getValues('email').toLowerCase(),

Error

TypeError: Cannot read properties of undefined (reading 'toLowerCase')
  at None (/assets/index-bbb_VXwK.js:5150:2575)
  at onClick (/assets/index-bbb_VXwK.js:5177:1976)
  at Object.kXe (/assets/index-bbb_VXwK.js:5:9903)
  at IXe (/assets/index-bbb_VXwK.js:5:10060)
  at OXe (/assets/index-bbb_VXwK.js:5:10120)
...
(8 additional frame(s) were not displayed)
@FelixMalfait FelixMalfait added good first issue Good for newcomers scope: front Issues that are affecting the frontend side only labels Dec 23, 2023
@madangopal16072000
Copy link

can i take this issue.

@0x23d11
Copy link
Contributor

0x23d11 commented Dec 23, 2023

@FelixMalfait I have created a PR, please check and let me know if there's any correction needed, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers scope: front Issues that are affecting the frontend side only
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants