Skip to content

Commit

Permalink
wip(front): update custom prop and installs downstream svelte-plausib…
Browse files Browse the repository at this point in the history
  • Loading branch information
dgrebb committed Jan 9, 2024
1 parent 79fc54b commit 6b54a69
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion front/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion front/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"postinstall": "patch-package"
},
"devDependencies": {
"@accuser/svelte-plausible-analytics": "dgrebb/svelte-plausible-analytics#downstream/feature/support-custom-pageview-properties",
"@accuser/svelte-plausible-analytics": "dgrebb/svelte-plausible-analytics#downstream/feature-support-custom-pageview-properties",
"@iconify-json/entypo-social": "^1.1.8",
"@iconify-json/gg": "^1.1.9",
"@iconify-json/icomoon-free": "^1.1.8",
Expand Down
4 changes: 3 additions & 1 deletion front/src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@
{apiHost}
enabled
outboundLinks
pageviewProps={{ theme: document.documentElement.classList }}
pageviewProps={{
theme: document.documentElement.classList.toString(),
}}
/>
{/key}
{/if}

0 comments on commit 6b54a69

Please sign in to comment.