Fix vs code extension. Prepare for new release. (#2011)
Fixes an issue with VS Code extension. Seem like we don't need to pass in the tools and utils any longer. Prepares the vs code extension for a new release (bumps version, updates changelog). ### Change Type - [x] `patch` — Bug fix Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
This commit is contained in:
parent
1f21f11886
commit
f3cecf5c55
4 changed files with 6 additions and 13 deletions
|
@ -3,15 +3,7 @@ import { linksUiOverrides } from './utils/links'
|
|||
import '@tldraw/tldraw/tldraw.css'
|
||||
// eslint-disable-next-line import/no-internal-modules
|
||||
import { getAssetUrlsByImport } from '@tldraw/assets/imports'
|
||||
import {
|
||||
Editor,
|
||||
ErrorBoundary,
|
||||
TLUiMenuSchema,
|
||||
Tldraw,
|
||||
defaultShapeTools,
|
||||
defaultShapeUtils,
|
||||
setRuntimeOverrides,
|
||||
} from '@tldraw/tldraw'
|
||||
import { Editor, ErrorBoundary, TLUiMenuSchema, Tldraw, setRuntimeOverrides } from '@tldraw/tldraw'
|
||||
import { useCallback, useEffect, useMemo, useState } from 'react'
|
||||
import { VscodeMessage } from '../../messages'
|
||||
import '../public/index.css'
|
||||
|
@ -130,8 +122,6 @@ function TldrawInner({ uri, assetSrc, isDarkMode, fileContents }: TLDrawInnerPro
|
|||
|
||||
return (
|
||||
<Tldraw
|
||||
shapeUtils={defaultShapeUtils}
|
||||
tools={defaultShapeTools}
|
||||
assetUrls={assetUrls}
|
||||
persistenceKey={uri}
|
||||
onMount={handleMount}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue