Skip to content

Commit

Permalink
fix ga
Browse files Browse the repository at this point in the history
  • Loading branch information
nialexsan committed Dec 3, 2024
1 parent 24a404a commit 4f5cbc9
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,11 +202,11 @@ const config = {
},
...(process.env.GA_TRACKING_ID
? {
gtag: {
trackingID: process.env.GA_TRACKING_ID,
anonymizeIP: true,
},
}
googleAnalytics: {
trackingID: process.env.GA_TRACKING_ID,
anonymizeIP: true,
},
}
: {}),
}),
],
Expand Down Expand Up @@ -540,7 +540,7 @@ const config = {
};
},
/** this function needs doesn't pick up hot reload event, it needs a restart */
// @ts-ignore
// @ts-expect-error
function (context, options) {
const { siteConfig } = context;
return {
Expand All @@ -558,7 +558,7 @@ const config = {
};
},
async contentLoaded({ content, actions }) {
// @ts-ignore
// @ts-expect-error
const { networks, sporks } = content;
const { addRoute, createData } = actions;
const networksJsonPath = await createData(
Expand Down

0 comments on commit 4f5cbc9

Please sign in to comment.