Skip to content

Commit

Permalink
fix/ui: ui debug overlay in prod
Browse files Browse the repository at this point in the history
  • Loading branch information
asieduernest12 committed Dec 29, 2024
1 parent 60c586c commit 790da23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/contents/content.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ const IndexContent = () => {

const getCollapseExpandBtn = () => <button onClick={toggleExpandeHandler}> {isExpanded ? 'Collapse' : 'Expand'}</button>;

const showDebugOverLay = (show = !envService.isProduction) => {
if (show) return;
const showDebugOverLay = () => {
if (envService.isProduction) return;

return (
<div className="[ br-overlay ]" style={OVERLAY_STYLE}>
Expand Down

0 comments on commit 790da23

Please # to comment.