Skip to content

Commit 45a5cc0

Browse files
author
Yann Leflour
committed
Clean globals
1 parent bcbced5 commit 45a5cc0

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

ui-sketcher-webview/index.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@
1212
<body>
1313
<div id="root"></div>
1414
<script>
15-
window.displayPreviewOnStart = true;
16-
window.previewUrl = "http://localhost:5173";
17-
window.relativePath = "src/components/MyComponent.tsx";
15+
window.workspaceId = "test-workspace";
16+
window.partialRenderEnabled = true;
1817
</script>
1918
<script type="module" src="/src/main.tsx"></script>
2019
</body>
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
interface Window {
2-
displayPreviewOnStart?: boolean;
32
partialRenderEnabled?: boolean;
43
previewUrl?: string;
5-
relativePath: string;
64
workspaceId: string;
75
}

0 commit comments

Comments
 (0)