We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I think you not pass param login from UserRepositories to RepoMenu component Readme not render because login undefined
import Fetch from "./Fetch"; import RepoMenu from "./RepoMenu"; export default function UserRepositories({ login, selectedRepo, onSelect = f => f }) { return ( <Fetch uri={`https://api.github.com/users/${login}/repos`} renderSuccess={({ data }) => ( <RepoMenu login={login} repositories={data} selectedRepo={selectedRepo} onSelect={onSelect} /> )} /> ); }
In RepositoryReadme, useEffect check !login, loadReadme will never run
useEffect(() => { if (!repo || !login) { return; } loadReadme(login, repo).catch(setError); }, [repo]);
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I think you not pass param login from UserRepositories to RepoMenu component
Readme not render because login undefined
In RepositoryReadme, useEffect check !login, loadReadme will never run
The text was updated successfully, but these errors were encountered: