Skip to content

Commit

Permalink
Merge pull request #315 from asieduernest12/master
Browse files Browse the repository at this point in the history
fix debug overlay showing in prod
  • Loading branch information
asieduernest12 authored Dec 29, 2024
2 parents 60c586c + e2d0259 commit e9806f7
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 e9806f7

Please sign in to comment.