Merge pull request #307 from RecentRunner/web-v2
merge web-v2
This commit was merged in pull request #307.
This commit is contained in:
@@ -167,11 +167,7 @@ export default function AdoptPage() {
|
||||
{loading && <p className="adopt-status-msg">Loading pets...</p>}
|
||||
|
||||
{error && (
|
||||
<div className="adopt-error-box">
|
||||
<p className="adopt-error-title">Failed to load pets</p>
|
||||
<code className="adopt-error-detail">{error}</code>
|
||||
<p className="adopt-error-hint">Make sure the backend is running and try again.</p>
|
||||
</div>
|
||||
<p className="adopt-status-msg">Unable to load pets, please try again later.</p>
|
||||
)}
|
||||
|
||||
{!loading && !error && displayedPets.length === 0 && (
|
||||
|
||||
Reference in New Issue
Block a user