We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73aab24 commit e22f48cCopy full SHA for e22f48c
src/app/components/sandbox/ModeIcons.js
@@ -127,7 +127,7 @@ const getCurrentMode = ({
127
if (showEditor && !showPreview)
128
return { currentMode: editor, otherModes: [both, preview] };
129
if (!showEditor && showPreview)
130
- return { currentMode: preview, otherModes: [both, editor] };
+ return { currentMode: preview, otherModes: [editor, both] };
131
132
return { currentMode: both, otherModes: [editor, preview] };
133
};
0 commit comments