This commit is contained in:
Cloudburst 2022-10-02 21:41:48 +02:00 committed by GitHub
parent 6b75370283
commit 1a1bb27773
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ const IndexPage = () => {
</div>
</div>
</div>
{(!repos && !setHadError) &&
{(!repos && !hadError) &&
<div class="alert shadow-lg w-full mx-10 md:w-2/3 mb-5">
<div>
<span>Fetching data...</span>
@ -54,7 +54,7 @@ const IndexPage = () => {
{repos.map((it, index) => <RepoCard repoData={it} key={index} isFirst={index===0}/>)}
</>
}
{(!repos && setHadError) &&
{(!repos && hadError) &&
<div class="alert alert-error shadow-lg w-full mx-10 md:w-2/3 mb-5">
<div>
<BiErrorAlt />