Skip to content
Merged

fix ga #1027

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading