remove react-id dep
This commit is contained in:
parent
5e6a4939d1
commit
91da95de1c
2 changed files with 2 additions and 6 deletions
|
@ -45,7 +45,6 @@
|
||||||
"@radix-ui/react-context-menu": "^0.1.1",
|
"@radix-ui/react-context-menu": "^0.1.1",
|
||||||
"@radix-ui/react-dropdown-menu": "^0.1.1",
|
"@radix-ui/react-dropdown-menu": "^0.1.1",
|
||||||
"@radix-ui/react-icons": "^1.0.3",
|
"@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-radio-group": "^0.1.1",
|
||||||
"@radix-ui/react-tooltip": "^0.1.1",
|
"@radix-ui/react-tooltip": "^0.1.1",
|
||||||
"@stitches/react": "^1.2.5",
|
"@stitches/react": "^1.2.5",
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
import * as React from 'react'
|
import * as React from 'react'
|
||||||
import { IdProvider } from '@radix-ui/react-id'
|
|
||||||
import { TldrawApp } from '~state'
|
import { TldrawApp } from '~state'
|
||||||
import { useKeyboardShortcuts, TldrawContext } from '~hooks'
|
import { useKeyboardShortcuts, TldrawContext } from '~hooks'
|
||||||
import { mockDocument } from './mockDocument'
|
import { mockDocument } from './mockDocument'
|
||||||
|
@ -22,9 +21,7 @@ export const Wrapper: React.FC = ({ children }) => {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<TldrawContext.Provider value={context}>
|
<TldrawContext.Provider value={context}>
|
||||||
<IdProvider>
|
|
||||||
<div ref={rWrapper}>{children}</div>
|
<div ref={rWrapper}>{children}</div>
|
||||||
</IdProvider>
|
|
||||||
</TldrawContext.Provider>
|
</TldrawContext.Provider>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue