production analytics with panel bear

This commit is contained in:
m5r
2021-08-29 06:14:18 +08:00
parent 93e71d3f59
commit ba876d0205
5 changed files with 66 additions and 24123 deletions

View File

@ -7,13 +7,19 @@ import {
AuthorizationError,
ErrorFallbackProps,
useQueryErrorResetBoundary,
getConfig,
} from "blitz";
import LoginForm from "../auth/components/login-form";
import { usePanelbear } from "../core/hooks/use-panelbear";
import "app/core/styles/index.css";
const { publicRuntimeConfig } = getConfig();
export default function App({ Component, pageProps }: AppProps) {
usePanelbear(publicRuntimeConfig.panelBear.siteId);
const getLayout = Component.getLayout || ((page) => page);
return (