remove react-id dep

This commit is contained in:
Steve Ruiz 2021-12-12 21:45:21 +00:00
parent 5e6a4939d1
commit 91da95de1c
2 changed files with 2 additions and 6 deletions

View file

@ -45,7 +45,6 @@
"@radix-ui/react-context-menu": "^0.1.1",
"@radix-ui/react-dropdown-menu": "^0.1.1",
"@radix-ui/react-icons": "^1.0.3",
"@radix-ui/react-id": "^0.1.1",
"@radix-ui/react-radio-group": "^0.1.1",
"@radix-ui/react-tooltip": "^0.1.1",
"@stitches/react": "^1.2.5",

View file

@ -1,5 +1,4 @@
import * as React from 'react'
import { IdProvider } from '@radix-ui/react-id'
import { TldrawApp } from '~state'
import { useKeyboardShortcuts, TldrawContext } from '~hooks'
import { mockDocument } from './mockDocument'
@ -22,9 +21,7 @@ export const Wrapper: React.FC = ({ children }) => {
return (
<TldrawContext.Provider value={context}>
<IdProvider>
<div ref={rWrapper}>{children}</div>
</IdProvider>
</TldrawContext.Provider>
)
}