Skip to content

Commit 1a0ab8f

Browse files
committed
Only show Collect all button when there are sponsorships
1 parent 401c79c commit 1a0ab8f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/pages/OperatorPage/SponsorshipTable.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ export function SponsorshipTable({
160160
}),
161161
]}
162162
footerComponent={
163+
allSponsorshipIds.length > 0 &&
163164
canCollectAllEarnings && (
164165
<Footer>
165166
<Button

0 commit comments

Comments
 (0)