Skip to content

Commit

Permalink
add logrocket
Browse files Browse the repository at this point in the history
  • Loading branch information
noahm committed Apr 11, 2024
1 parent 0d09ea9 commit 5c58479
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"baconjs": "patch:baconjs@npm%3A3.0.17#~/.yarn/patches/baconjs-npm-3.0.17-1a95474784.patch",
"classnames": "^2.5.1",
"jotai": "^2.8.0",
"logrocket": "^8.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
3 changes: 3 additions & 0 deletions ui/index.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
import * as Bacon from "baconjs";
import { Provider } from "jotai";
import LogRocket from "logrocket";
import { createRoot } from "react-dom/client";

import { uiState } from "./state.ts";
import { UI } from "./ui.tsx";

LogRocket.init("rgozwj/smx-config-web");

Bacon.fromEvent(document, "DOMContentLoaded").onValue(async () => {
const rootEl = document.getElementById("root");
if (!rootEl) return;
Expand Down
8 changes: 8 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1854,6 +1854,13 @@ __metadata:
languageName: node
linkType: hard

"logrocket@npm:^8.1.0":
version: 8.1.0
resolution: "logrocket@npm:8.1.0"
checksum: 10c0/fef2973d8e304036ebc5e304a93bb157c3b32aac43966e0373e3d6007a6d287db05ea66f15e6691ce390d74298ead101684d5ea7400a1b0f4e5a813db4d947b9
languageName: node
linkType: hard

"loose-envify@npm:^1.1.0":
version: 1.4.0
resolution: "loose-envify@npm:1.4.0"
Expand Down Expand Up @@ -2464,6 +2471,7 @@ __metadata:
baconjs: "patch:baconjs@npm%3A3.0.17#~/.yarn/patches/baconjs-npm-3.0.17-1a95474784.patch"
classnames: "npm:^2.5.1"
jotai: "npm:^2.8.0"
logrocket: "npm:^8.1.0"
react: "npm:^18.2.0"
react-dom: "npm:^18.2.0"
typescript: "npm:^5.4.4"
Expand Down

0 comments on commit 5c58479

Please sign in to comment.