Skip to content

Commit 77f4679

Browse files
authored
Merge pull request #495 from BordalloG/main
Prevents Live Preview to load unless the user chooses manually
2 parents 2041381 + 5154608 commit 77f4679

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/Blitzcode/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ const BlitzCode = () => {
1010
useEffect(() => {
1111
if (Number(width) >= 769 && !loadedSdk) {
1212
sdk.embedProjectId('expressots-example-code', 'expressots', {
13+
clickToLoad: true,
1314
forceEmbedLayout: true,
1415
openFile: 'src/main.ts',
1516
hideExplorer: false,

0 commit comments

Comments
 (0)