mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-07-31 14:30:13 +02:00
Fix propagation issue on sponsor close
This commit is contained in:
@@ -163,6 +163,8 @@ export function PageSponsor(props: PageSponsorProps) {
|
||||
aria-label="Close"
|
||||
onClick={(e) => {
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
|
||||
markSponsorHidden(sponsorId || '');
|
||||
sponsorHidden.set(true);
|
||||
}}
|
||||
|
Reference in New Issue
Block a user