Skip to content

Commit

Permalink
fix: Make DebugPanel visible when flag is set
Browse files Browse the repository at this point in the history
  • Loading branch information
bprusinowski committed Oct 6, 2023
1 parent 3ecba41 commit ae54d56
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions app/components/debug-panel/DebugPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,4 @@ const DebugPanel = (props: DebugPanelProps) => {
);
};

const DebugPanelNull = () => null;

const ExportedDebugPanel =
process.env.NODE_ENV === "development" ? DebugPanel : DebugPanelNull;

export default ExportedDebugPanel;
export default DebugPanel;

0 comments on commit ae54d56

Please sign in to comment.