Skip to content

Commit 290717c

Browse files
yarn & cleanup
1 parent 794250d commit 290717c

3 files changed

Lines changed: 4 additions & 12 deletions

File tree

editor/components/canvas/isolated-canvas.tsx

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,8 @@ import { ZoomControl } from "./controller-zoom-control";
77
import { colors } from "theme";
88
import { RunnerLoadingIndicator } from "components/app-runner/loading-indicator";
99

10-
/**
11-
* A React Hook that returns a delta state.
12-
* When user completely stops interacting, after a short delay (600ms), set the value to false.
13-
* When user starts interacting, immidiately set the value to true.
14-
*
15-
* the condition rather if the user is currently interacting or not is set on higher level, which this function accepts the condition as a parameter.
16-
* @param interacting
17-
*/
18-
function useIsInteractingDelta() {
19-
throw new Error("Not implemented");
20-
}
10+
// TODO:
11+
// - add gesture debounce
2112

2213
type Size = { width: number; height: number };
2314
function initialTransform(

editor/pages/_development/sandbox/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ export default function SandboxPage() {
9393
}}
9494
>
9595
<VanillaESBuildAppRunner
96+
componentName="preview"
9697
doc={{
9798
html: html_code,
9899
css: "",

yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8983,7 +8983,7 @@ es6-shim@^0.35.5:
89838983
resolved "https://registry.yarnpkg.com/es6-shim/-/es6-shim-0.35.6.tgz#d10578301a83af2de58b9eadb7c2c9945f7388a0"
89848984
integrity sha512-EmTr31wppcaIAgblChZiuN/l9Y7DPyw8Xtbg7fIVngn6zMW+IEBJDJngeKC3x6wr0V/vcA2wqeFnaw1bFJbDdA==
89858985

8986-
esbuild-wasm@^0.14.34:
8986+
esbuild-wasm@0.14.34:
89878987
version "0.14.34"
89888988
resolved "https://registry.yarnpkg.com/esbuild-wasm/-/esbuild-wasm-0.14.34.tgz#cde4a4c10405b6dfb677652092eb5b9788670d70"
89898989
integrity sha512-0GYXI7gNla1PePGpXMqSH8U/k0xDkVYwH62L0ZLq3MuI26NPabhAlShOOELISpNZIaYiJ8vlkwdYZ4V229zf2A==

0 commit comments

Comments
 (0)