From 00f7a5e3f0d6c0d191850c9583d50fb5876949fd Mon Sep 17 00:00:00 2001 From: Dmytro Soldatov Date: Thu, 7 Mar 2024 12:30:24 +0200 Subject: [PATCH] fix (#77) --- .../Playground/PixiPlayground/useSandpackConfiguration.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/Playground/PixiPlayground/useSandpackConfiguration.ts b/src/components/Playground/PixiPlayground/useSandpackConfiguration.ts index 01ac2923d..b98aa9421 100644 --- a/src/components/Playground/PixiPlayground/useSandpackConfiguration.ts +++ b/src/components/Playground/PixiPlayground/useSandpackConfiguration.ts @@ -44,6 +44,9 @@ export const useFiles = (code: string, extraFiles?: Record) => 'src/styles.css': `body { margin: 0; overflow: hidden; }`, 'src/index.js': code, 'index.html': indexHTML, + 'sandbox.config.json': `{ + "infiniteLoopProtection": false + }`, 'package.json': { code: JSON.stringify( {