Prevent connect message while loading

This commit is contained in:
n8detar 2022-04-21 09:08:48 -07:00
parent 0c0b58af71
commit 3b908b29f0

View File

@ -106,7 +106,7 @@ const Download: NextPage = () => {
<h1>Downloads</h1> <h1>Downloads</h1>
</div> </div>
<div id="notifications"> <div id="notifications">
{error || !downloads?.data && {(error || !downloads?.data) && !isLoading &&
<div className="error notification"> <div className="error notification">
<h3>API Connection Error</h3> <h3>API Connection Error</h3>
<p></p> <p></p>