Skip to content

Commit

Permalink
chore: add message for no unpaid players in outstanding report
Browse files Browse the repository at this point in the history
  • Loading branch information
tructn committed Dec 22, 2024
1 parent 242d093 commit bbcf0a4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions frontend/src/screens/public/outstanding-report.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@ export default function Page() {
<PlayerLoading />
<PlayerLoading />
</>
) : filterPlayers?.length === 0 ? (
<div className="rounded-lg border border-dashed border-green-500 bg-green-50 px-5 py-12 text-center text-xl font-bold text-green-500 shadow">
No more unpaid 🥰
</div>
) : (
filterPlayers?.map((item) => {
return (
Expand Down

0 comments on commit bbcf0a4

Please sign in to comment.