From 13087fe302c10932a691b995cc0d2cb2f7e6581e Mon Sep 17 00:00:00 2001 From: Dmytro Soldatov Date: Thu, 7 Mar 2024 12:14:34 +0200 Subject: [PATCH] fix --- .../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( {