Skip to content

Commit

Permalink
Revert "Do not render simulator when collapsed"
Browse files Browse the repository at this point in the history
This reverts commit 640c5e4.
  • Loading branch information
microbit-grace committed Apr 4, 2024
1 parent 0800b1d commit bb77f91
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/simulator/Simulator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,6 @@ const Simulator = ({
}
}, [previouslyShown, showSimulatorButtonRef, shown, simFocus]);

if (!shown) {
return null;
}

return (
<DeviceContextProvider value={simulator.current}>
<Flex
Expand Down

0 comments on commit bb77f91

Please sign in to comment.