clean up gatsby-browser
This commit is contained in:
parent
5916185c85
commit
b33cef7d4a
@ -7,12 +7,6 @@ const env =
|
||||
export const onRouteUpdate = function () {
|
||||
if (env === "production" && typeof window.plausible === "object") {
|
||||
window.plausible("pageview");
|
||||
// eslint-disable-next-line
|
||||
_paq.push(["setCustomUrl", "/" + window.location.pathname]);
|
||||
// eslint-disable-next-line
|
||||
_paq.push(["setDocumentTitle", document.title]);
|
||||
// eslint-disable-next-line
|
||||
_paq.push(["trackPageView"]);
|
||||
}
|
||||
};
|
||||
// import * as React from 'react';
|
||||
@ -31,11 +25,11 @@ export const onRouteUpdate = function () {
|
||||
export const wrapRootElement = ({ element }) => (
|
||||
<SSRProvider>
|
||||
<Provider
|
||||
UNSAFE_className="overflow-x-hidden"
|
||||
UNSAFE_style={{
|
||||
background: "unset",
|
||||
color: "unset",
|
||||
}}
|
||||
UNSAFE_className="overflow-x-hidden"
|
||||
colorScheme="dark"
|
||||
scale="medium"
|
||||
theme={darkTheme}
|
||||
|
Loading…
x
Reference in New Issue
Block a user