|
1 | | -import React from 'react'; |
2 | | -import Helmet from 'react-helmet'; |
3 | | -import { Link } from 'react-router-dom'; |
4 | | -import { getSandboxName } from '@codesandbox/common/lib/utils/get-sandbox-name'; |
5 | 1 | import { Button } from '@codesandbox/common/lib/components/Button'; |
6 | 2 | import Centered from '@codesandbox/common/lib/components/flex/Centered'; |
7 | 3 | import Fullscreen from '@codesandbox/common/lib/components/flex/Fullscreen'; |
8 | 4 | import Padding from '@codesandbox/common/lib/components/spacing/Padding'; |
| 5 | +import { getSandboxName } from '@codesandbox/common/lib/utils/get-sandbox-name'; |
9 | 6 | import { inject, observer } from 'app/componentConnectors'; |
10 | | -import { Title } from 'app/components/Title'; |
11 | 7 | import { Skeleton } from 'app/components/Skeleton'; |
12 | | -import { QuickActions } from 'app/pages/Sandbox/QuickActions'; |
13 | | -import { NotFound } from 'app/pages/common/NotFound'; |
14 | | -import { Navigation } from 'app/pages/common/Navigation'; |
| 8 | +import { Title } from 'app/components/Title'; |
15 | 9 | import { GithubIntegration } from 'app/pages/common/GithubIntegration'; |
| 10 | +import { Navigation } from 'app/pages/common/Navigation'; |
| 11 | +import { NotFound } from 'app/pages/common/NotFound'; |
| 12 | +import { QuickActions } from 'app/pages/Sandbox/QuickActions'; |
| 13 | +import React from 'react'; |
| 14 | +import Helmet from 'react-helmet'; |
| 15 | +import { Link } from 'react-router-dom'; |
| 16 | + |
16 | 17 | import Editor from './Editor'; |
17 | 18 |
|
18 | 19 | class SandboxPage extends React.Component { |
@@ -159,7 +160,9 @@ class SandboxPage extends React.Component { |
159 | 160 | }} |
160 | 161 | margin={1} |
161 | 162 | > |
162 | | - <Navigation title="Sandbox Editor" /> |
| 163 | + {store.editor.isLoading ? null : ( |
| 164 | + <Navigation title="Sandbox Editor" /> |
| 165 | + )} |
163 | 166 | <Centered |
164 | 167 | style={{ flex: 1, width: '100%', height: '100%' }} |
165 | 168 | horizontal |
|
0 commit comments