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

Load Profile Information getting an error #20

Open
liamjosephsilk opened this issue Feb 18, 2021 · 1 comment
Open

Load Profile Information getting an error #20

liamjosephsilk opened this issue Feb 18, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@liamjosephsilk
Copy link
Collaborator

liamjosephsilk commented Feb 18, 2021

Steps to reproduce:

  • Authorise login for both Github and Twitter.
  • Click Load Profile data.

Error: TypeError: Cannot read property 'slice' of null

(anonymous function)
src/components/hub/dev-card/dev-card-hub.js:64
61 | dispatch({ type: 'email', payload: userData.me.github.email });
62 | dispatch({ type: 'description', payload: userData.me.twitter.description });
63 | dispatch({ type: 'location', payload: userData.me.twitter.location });
64 | dispatch({ type: 'website', payload: userData.me.github.websiteUrl.slice(12) });
65 | }
66 | }
67 | }, [userData, error, loading, dispatch]);

@molebox molebox added the bug Something isn't working label Feb 19, 2021
@liamjosephsilk
Copy link
Collaborator Author

I'm happy to pick this up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants