Skip to content

Commit

Permalink
Update src/main.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Michał Kuczaj <[email protected]>
  • Loading branch information
ArturBa and mikucz authored Jan 15, 2024
1 parent d4b1aba commit 2130d11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const createPlugin = (config: CookieConsentConfig): AstroIntegration => {
'astro:config:setup': async ({ injectScript }) => {
injectScript(
'page',
"import * as CookieConsent 'vanilla-cookieconsent';"
"import * as cookieConsent from 'vanilla-cookieconsent';"
);
injectScript(
'page-ssr',
Expand Down

0 comments on commit 2130d11

Please sign in to comment.