Skip to content

Commit

Permalink
Add eruda
Browse files Browse the repository at this point in the history
  • Loading branch information
teodorus-nathaniel committed Jun 6, 2024
1 parent 96291a4 commit 87571b3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@
"dayjs": "^1.9.6",
"dotenv-webpack": "^1.0.2",
"easymde": "^2.15.0",
"eruda": "^3.0.1",
"eslint-config-next": "13",
"graphql": "^15.5.0",
"graphql-request": "^5.2.0",
Expand Down
1 change: 1 addition & 0 deletions src/pages/_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ function MyApp(props) {
if (isInitialized.current) return
isInitialized.current = true
initAllStores()
import('eruda').then(lib => lib.default.init())
}, [])

// Debug store
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6100,6 +6100,11 @@ error-stack-parser@^2.0.6:
dependencies:
stackframe "^1.3.4"

eruda@^3.0.1:
version "3.0.1"
resolved "https://registry.yarnpkg.com/eruda/-/eruda-3.0.1.tgz#6c07ae2b3ced54151c6e9b21f9b8da11e6ec988a"
integrity sha512-6q1Xdwga4JTr1mKSW4mzuWSSbmXgqpm/8Wa1QGFGfCWRjC0bCQjbS4u06M1te1moucIS3hBLlbSTPWYH2W0qbQ==

es-abstract@^1.19.0, es-abstract@^1.20.4:
version "1.21.2"
resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.21.2.tgz#a56b9695322c8a185dc25975aa3b8ec31d0e7eff"
Expand Down

0 comments on commit 87571b3

Please sign in to comment.