Skip to content

Commit f39091d

Browse files
committed
Don't show skeleton if module has already been loaded
1 parent 83736b5 commit f39091d

File tree

1 file changed

+3
-1
lines changed
  • packages/app/src/app/pages/Sandbox/Editor

1 file changed

+3
-1
lines changed

packages/app/src/app/pages/Sandbox/Editor/index.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ const StatusBar = styled.div`
3131
const ContentSplit = () => {
3232
const { state, actions, effects, reaction } = useOvermind();
3333
const statusbarEl = useRef(null);
34-
const [showSkeleton, setShowSkeleton] = useState(true);
34+
const [showSkeleton, setShowSkeleton] = useState(
35+
!state.editor.hasLoadedInitialModule
36+
);
3537
const [localState, setLocalState] = useState({
3638
theme: {
3739
colors: {},

0 commit comments

Comments
 (0)