[fix] copy and paste (again) (#685)

* fix copy

* remove console logs

* update types
This commit is contained in:
Steve Ruiz 2022-05-14 14:15:55 +01:00 committed by GitHub
parent 61cf4e6290
commit c3050db968
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
85 changed files with 145 additions and 762 deletions

View file

@ -2,7 +2,7 @@
import * as React from 'react'
import { ColorStyle, Tldraw, TDShapeType, TldrawApp } from '@tldraw/tldraw'
export default function Imperative(): JSX.Element {
export default function Imperative() {
const rTldrawApp = React.useRef<TldrawApp>()
const handleMount = React.useCallback((app: TldrawApp) => {