Skip to content

Commit

Permalink
fix(qr-scanner): change lib for qr scanner, prevent too much scanning…
Browse files Browse the repository at this point in the history
…, remove switch (#79)
  • Loading branch information
shalluv authored Jan 16, 2024
1 parent 627567e commit 5891633
Show file tree
Hide file tree
Showing 4 changed files with 86 additions and 210 deletions.
9 changes: 1 addition & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"@astrojs/ts-plugin": "1.3.1",
"@fontsource/ibm-plex-sans-thai": "^5.0.8",
"@radix-ui/react-icons": "1.3.0",
"@radix-ui/react-switch": "1.0.3",
"@radix-ui/react-toast": "1.1.5",
"astro": "^4.0.8",
"class-variance-authority": "0.7.0",
Expand All @@ -29,10 +28,10 @@
"framer-motion": "^10.16.16",
"html-to-image": "1.11.11",
"lucide-react": "0.309.0",
"qr-scanner": "1.4.2",
"qrcode": "1.5.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-qr-reader": "3.0.0-beta-1",
"sharp": "^0.33.1",
"tailwind-merge": "2.2.0",
"tailwindcss": "^3.4.0",
Expand Down Expand Up @@ -78,11 +77,5 @@
"eslint --fix",
"prettier --write"
]
},
"overrides": {
"react-qr-reader": {
"react": "$react",
"react-dom": "$react-dom"
}
}
}
126 changes: 13 additions & 113 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 5891633

Please sign in to comment.