Skip to content

Commit

Permalink
chore: fix demo build and typescript version
Browse files Browse the repository at this point in the history
  • Loading branch information
dbismut committed Aug 21, 2023
1 parent 3c49e76 commit 97765d6
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
"@types/react-dom": "^18.0.8",
"@types/three": "^0.140.0",
"@vitejs/plugin-react": "^3.1.0",
"typescript": "^4.9.4",
"typescript-plugin-css-modules": "^5.0.0",
"typescript": "^5.0.4",
"typescript-plugin-css-modules": "^5.0.1",
"vite": "^4.2.1"
}
}
1 change: 1 addition & 0 deletions demo/src/sandboxes/gesture-drag-vanilla/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ function Draggable() {
if (!dragGesture.current) return
api.set({ scale: 1, x: 0, y: 0 })
const { boundToParent, gesture, ...rest } = options
// @ts-ignore
dragGesture.current.setConfig({ ...rest, pointer: pointerOptions, ...(boundToParent && { bounds: ref }) })
}, [api, options, pointerOptions])

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"docs:start": "pnpm --filter documentation run start",
"docs:build": "pnpm --filter documentation run build",
"demo:dev": "pnpm --filter demo run dev",
"demo:build": "pnpm --filter demo un build",
"demo:build": "pnpm --filter demo run build",
"test": "jest",
"test:watch": "jest --watchAll",
"size": "size-limit",
Expand Down
25 changes: 12 additions & 13 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 97765d6

Please sign in to comment.