Add logrocket

Useful for figuring out what went wrong during an error or to see how users are using the app.
This commit is contained in:
2022-08-29 00:48:03 -04:00
parent 2bd5227287
commit aa2bd77435
3 changed files with 15 additions and 0 deletions

View File

@@ -2,9 +2,12 @@ import "../styles/globals.css";
import { Provider } from "react-redux";
import type { AppProps } from "next/app";
import LogRocket from "logrocket";
import store from "../lib/store";
LogRocket.init("0tlgj3/modmapper");
function MyApp({ Component, pageProps }: AppProps) {
return (
<Provider store={store}>