Skip to content

Commit e8965fe

Browse files
committed
Fix live sessions with skeleton
1 parent 746c7da commit e8965fe

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

packages/app/src/app/pages/Live/index.tsx

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import Fullscreen from '@codesandbox/common/lib/components/flex/Fullscreen';
44
import Row from '@codesandbox/common/lib/components/flex/Row';
55
import Padding from '@codesandbox/common/lib/components/spacing/Padding';
66
import { getSandboxName } from '@codesandbox/common/lib/utils/get-sandbox-name';
7-
import { Skeleton } from 'app/components/Skeleton';
87
import { SubTitle } from 'app/components/SubTitle';
98
import { Title } from 'app/components/Title';
109
import { useOvermind } from 'app/overmind';
@@ -15,7 +14,6 @@ import GithubIcon from 'react-icons/lib/go/mark-github';
1514
import { Link } from 'react-router-dom';
1615

1716
import Editor from '../Sandbox/Editor';
18-
import { BlinkingDot } from './BlinkingDot';
1917

2018
interface Props {
2119
match: {
@@ -109,30 +107,6 @@ export const LivePage: React.FC<Props> = ({ match }) => {
109107
);
110108
}
111109

112-
if (
113-
state.isAuthenticating ||
114-
state.editor.isLoading ||
115-
state.live.isLoading ||
116-
!state.editor.currentSandbox
117-
) {
118-
return (
119-
<>
120-
<Skeleton
121-
titles={[
122-
{
123-
content: <BlinkingDot />,
124-
delay: 0,
125-
},
126-
{
127-
content: 'Joining Live Session...',
128-
delay: 0.5,
129-
},
130-
]}
131-
/>
132-
</>
133-
);
134-
}
135-
136110
return null;
137111
}
138112

0 commit comments

Comments
 (0)