Skip to content

Commit

Permalink
Refactor checked-in counter rendering logic and error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
Superior212 committed Oct 23, 2024
1 parent c3ac9f2 commit d54e302
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/nextjs/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const Home: NextPage = () => {
<p>Error fetching contract data: {error.message}</p>
</div>
) : (
<p className="text-lg flex gap-2 justify-center">
<div className="text-lg flex gap-2 justify-center">
<span className="font-bold">Checked in builders count:</span>
{contractLoading ? (
<span className="animate-pulse">
Expand All @@ -39,7 +39,7 @@ const Home: NextPage = () => {
) : (
<span>{checkedInCounter !== undefined ? Number(checkedInCounter) : "0"}</span>
)}
</p>
</div>
)}
</div>

Expand Down

0 comments on commit d54e302

Please sign in to comment.