diff --git a/editor/src/components/canvas/ui-jsx-canvas.tsx b/editor/src/components/canvas/ui-jsx-canvas.tsx index 3ef9e4899087..f5b5be5fc501 100644 --- a/editor/src/components/canvas/ui-jsx-canvas.tsx +++ b/editor/src/components/canvas/ui-jsx-canvas.tsx @@ -457,7 +457,7 @@ export const UiJsxCanvas = React.memo((props) if (shouldRerenderRef.current) { // since rerender-all-elements means we did a full rebuild of the canvas scope, // any CSS file that was not resolved during this rerender can be unimported - // unimportAllButTheseCSSFiles(resolvedFileNames.current) + unimportAllButTheseCSSFiles(resolvedFileNames.current) } return executionScope }, [