Skip to content

Commit

Permalink
tidying
Browse files Browse the repository at this point in the history
  • Loading branch information
loiswells97 committed Jun 12, 2024
1 parent 0548de4 commit 8cd57b7
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/components/Editor/Runners/HtmlRunner/HtmlRunner.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,7 @@ function HtmlRunner() {

if (isEmbedded && page && previewable(page) && pageExists(page)) {
defaultPreviewFile = page;
} else if (
!isEmbedded &&
// openFiles[focussedFileIndex] &&
previewable(openFiles[focussedFileIndex])
) {
} else if (!isEmbedded && previewable(openFiles[focussedFileIndex])) {
defaultPreviewFile = openFiles[focussedFileIndex];
}

Expand Down

0 comments on commit 8cd57b7

Please sign in to comment.