Skip to content

Commit

Permalink
limit subscriptions to 15 (not 16) (#866)
Browse files Browse the repository at this point in the history
Limit users to 15 subscriptions (fix typo from #842 that was allowing 16)
  • Loading branch information
austensen authored Mar 19, 2024
1 parent 8b07477 commit 73e021d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/components/EmailAlertSignup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const BuildingSubscribeWithoutI18n = (props: BuildingSubscribeProps) => {
<button
className="button is-primary"
onClick={() =>
subscriptions.length <= SUBSCRIPTION_LIMIT
subscriptions.length < SUBSCRIPTION_LIMIT
? subscribe(bbl, housenumber, streetname, zip, boro)
: setShowSubscriptionLimitModal(true)
}
Expand Down

0 comments on commit 73e021d

Please sign in to comment.