Skip to content

Commit

Permalink
fix pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
eligrey committed Oct 18, 2024
1 parent ae19325 commit a4767ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/consent-manager.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const injectConsentManagerApp = async (
const attachToDoc = (): void => {
// Append UI container to doc to activate style.sheet
(document.documentElement || document).append(consentManager);
}
};

try {
const shadowRoot =
Expand Down Expand Up @@ -70,7 +70,7 @@ export const injectConsentManagerApp = async (
if (EXTERNALIZE_INLINE_CSS) {
(style as HTMLLinkElement).rel = 'stylesheet';
(style as HTMLLinkElement).href = `data:text/css,${encodeURIComponent(
CSS_RESET
CSS_RESET,
)}`;
}

Expand Down

0 comments on commit a4767ab

Please sign in to comment.