Skip to content

Commit

Permalink
chore(PPDSC-2280): chore-ppdse-2280-added prevent default (#366)
Browse files Browse the repository at this point in the history
  • Loading branch information
baburay23 authored Sep 8, 2022
1 parent b50f5a6 commit 6c22623
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/consent/consent-settings-link.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ export const ConsentSettingsLink: React.FC<ConsentSettingsLinkProps> = ({
href="#"
role="button"
onClick={(event: React.MouseEvent<HTMLAnchorElement>) => {
event.preventDefault();
try {
if (gdpr) {
// eslint-disable-next-line no-underscore-dangle
Expand Down

0 comments on commit 6c22623

Please sign in to comment.