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

Lets you play if account does not exist #35

Open
cemalokten opened this issue Feb 11, 2022 · 0 comments
Open

Lets you play if account does not exist #35

cemalokten opened this issue Feb 11, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@cemalokten
Copy link

cemalokten commented Feb 11, 2022

Perhaps some sort of error handling for the scenario when an account does not exist?

  React.useEffect(() => {
    fetch(USER_URL + name)
      .then((res) => res.json())
      .then((data) => setPlayer(data));
    // error handling something something
  }, [name]);
@cemalokten cemalokten added the enhancement New feature or request label Feb 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant