Skip to content

Commit

Permalink
fix type errors in commerce
Browse files Browse the repository at this point in the history
  • Loading branch information
erikrakuscek committed Mar 8, 2024
1 parent 5d0955c commit 8e25ed0
Show file tree
Hide file tree
Showing 3 changed files with 71 additions and 23 deletions.
6 changes: 6 additions & 0 deletions packages/commerce/components/checkout/pay-with-crypto.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ import Usdt from './icons/usdt'
import { useCommerce } from '../..'
import { formatPrice } from '../../util'

declare global {
interface Window{
ethereum?: any
}
}

const PayWithCrypto: React.FC<{
setCurrentStep: (currentStep: number) => void
}> = observer(({
Expand Down
4 changes: 2 additions & 2 deletions packages/commerce/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@
"clean": "rm -rf dist && rm -rf node_modules"
},
"dependencies": {
"@hookform/resolvers": "^3.3.2",
"@hookform/resolvers": "^3.3.4",
"ethers": "^6.11.1",
"lucide-react": "^0.307.0",
"next-usequerystate": "^1.17.0",
"react-hook-form": "^7.51.0",
"react-hook-form": "7.50.1",
"react-mobile-picker": "^1.0.0",
"zod": "3.21.4"
},
Expand Down
84 changes: 63 additions & 21 deletions pnpm-lock.yaml

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

0 comments on commit 8e25ed0

Please sign in to comment.