Uninstall Matomo react

This commit is contained in:
Dilson's Pickles
2023-03-29 17:21:23 +01:00
parent 5cca4569a9
commit 6824603850
3 changed files with 2 additions and 27 deletions

17
package-lock.json generated
View File

@@ -10,7 +10,6 @@
"dependencies": {
"@astrojs/react": "^2.0.2",
"@astrojs/tailwind": "^3.0.1",
"@datapunt/matomo-tracker-react": "^0.5.1",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.10",
"astro": "^2.0.10",
@@ -507,22 +506,6 @@
"node": ">=6.9.0"
}
},
"node_modules/@datapunt/matomo-tracker-js": {
"version": "0.5.1",
"resolved": "https://registry.npmjs.org/@datapunt/matomo-tracker-js/-/matomo-tracker-js-0.5.1.tgz",
"integrity": "sha512-9/MW9vt/BA5Db7tO6LqCeQKtuvBNjyq51faF3AzUmPMlYsJCnASIxcut3VqJKiribhUoey7aYbPIYuj9x4DLPA=="
},
"node_modules/@datapunt/matomo-tracker-react": {
"version": "0.5.1",
"resolved": "https://registry.npmjs.org/@datapunt/matomo-tracker-react/-/matomo-tracker-react-0.5.1.tgz",
"integrity": "sha512-lrNYM9hFL6XK0VAdtMb7MwZrLWhaAconx4c7gOGAMvoWuoVm+ZZIYFuKtfYdYMeBf0avxWtmKRwjZEg7T8jV2A==",
"dependencies": {
"@datapunt/matomo-tracker-js": "^0.5.1"
},
"peerDependencies": {
"react": ">= 16.8.0"
}
},
"node_modules/@emmetio/abbreviation": {
"version": "2.2.3",
"resolved": "https://registry.npmjs.org/@emmetio/abbreviation/-/abbreviation-2.2.3.tgz",

View File

@@ -12,7 +12,6 @@
"dependencies": {
"@astrojs/react": "^2.0.2",
"@astrojs/tailwind": "^3.0.1",
"@datapunt/matomo-tracker-react": "^0.5.1",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.10",
"astro": "^2.0.10",

View File

@@ -1,5 +1,4 @@
---
import { MatomoProvider, createInstance } from "@datapunt/matomo-tracker-react";
import Footer from "../components/footer/Footer.astro";
import NavigationReact from "../components/navigation/NavigationReact";
@@ -7,11 +6,6 @@ export interface Props {
title: string;
}
const { title } = Astro.props;
const instance = createInstance({
urlBase: 'https://audacity.github.io',
siteId: 3,
})
---
<!DOCTYPE html>
@@ -23,10 +17,9 @@ const instance = createInstance({
<meta name="generator" content={Astro.generator} />
<title>{title}</title>
</head>
<MatomoProvider value={instance}>
<body>
<NavigationReact client:load />
<slot />
<Footer />
</MatomoProvider>
</body>
</html>