Skip to content

Commit

Permalink
fix(sandpack preset): use standalone mode for console layout (#872)
Browse files Browse the repository at this point in the history
  • Loading branch information
danilowoz authored Apr 3, 2023
1 parent b60bd89 commit 6b52a72
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sandpack-react/src/presets/Sandpack.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ export const Sandpack: SandpackInternal = ({
style={topRowStyle}
/>
)}

{mode === "tests" && (
<SandpackTests
actionsChildren={actionsChildren}
Expand All @@ -256,6 +257,7 @@ export const Sandpack: SandpackInternal = ({
<SandpackConsole
actionsChildren={actionsChildren}
style={topRowStyle}
standalone
/>
)}

Expand Down

1 comment on commit 6b52a72

@vercel
Copy link

@vercel vercel bot commented on 6b52a72 Apr 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

sandpack-docs – ./website/docs

sandpack-docs-codesandbox1.vercel.app
sandpack-docs-git-main-codesandbox1.vercel.app
sandpack.vercel.app

Please sign in to comment.