From 5c44bf7f7c1dfd0c470ff438649cd0e1a6a034d7 Mon Sep 17 00:00:00 2001 From: Christian Alfoni Date: Thu, 24 Oct 2019 14:07:31 +0200 Subject: [PATCH] Fix flashing --- packages/app/src/app/pages/Sandbox/index.js | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/packages/app/src/app/pages/Sandbox/index.js b/packages/app/src/app/pages/Sandbox/index.js index 38ddc405850..f1d4c7a5e79 100644 --- a/packages/app/src/app/pages/Sandbox/index.js +++ b/packages/app/src/app/pages/Sandbox/index.js @@ -1,18 +1,19 @@ -import React from 'react'; -import Helmet from 'react-helmet'; -import { Link } from 'react-router-dom'; -import { getSandboxName } from '@codesandbox/common/lib/utils/get-sandbox-name'; import { Button } from '@codesandbox/common/lib/components/Button'; import Centered from '@codesandbox/common/lib/components/flex/Centered'; import Fullscreen from '@codesandbox/common/lib/components/flex/Fullscreen'; import Padding from '@codesandbox/common/lib/components/spacing/Padding'; +import { getSandboxName } from '@codesandbox/common/lib/utils/get-sandbox-name'; import { inject, observer } from 'app/componentConnectors'; -import { Title } from 'app/components/Title'; import { Skeleton } from 'app/components/Skeleton'; -import { QuickActions } from 'app/pages/Sandbox/QuickActions'; -import { NotFound } from 'app/pages/common/NotFound'; -import { Navigation } from 'app/pages/common/Navigation'; +import { Title } from 'app/components/Title'; import { GithubIntegration } from 'app/pages/common/GithubIntegration'; +import { Navigation } from 'app/pages/common/Navigation'; +import { NotFound } from 'app/pages/common/NotFound'; +import { QuickActions } from 'app/pages/Sandbox/QuickActions'; +import React from 'react'; +import Helmet from 'react-helmet'; +import { Link } from 'react-router-dom'; + import Editor from './Editor'; class SandboxPage extends React.Component { @@ -159,7 +160,9 @@ class SandboxPage extends React.Component { }} margin={1} > - + {store.editor.isLoading ? null : ( + + )}