Skip to content

Commit

Permalink
fix: sponsor section logic
Browse files Browse the repository at this point in the history
  • Loading branch information
ansh-saini authored and martinheidegger committed Oct 31, 2024
1 parent 987ef11 commit a805431
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 2024/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -264,9 +264,9 @@ export default function IndexPage() {
},
{
subTitle: t("callForSponsors"),
available: site.siteMetadata.sponsorFormUrl,
available: !sponsorDateOverDue,
render: () =>
!sponsorDateOverDue ? (
site.siteMetadata.sponsorFormUrl ? (
<LinkButton
color="primary"
size="large"
Expand Down

0 comments on commit a805431

Please sign in to comment.