Fix propagation issue on sponsor close

pull/7599/head
Kamran Ahmed 4 weeks ago committed by GitHub
parent 7e9de94b14
commit 414ce7afd9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      src/components/PageSponsor.tsx

@ -163,6 +163,8 @@ export function PageSponsor(props: PageSponsorProps) {
aria-label="Close"
onClick={(e) => {
e.preventDefault();
e.stopPropagation();
markSponsorHidden(sponsorId || '');
sponsorHidden.set(true);
}}

Loading…
Cancel
Save