Skip to content

Commit e9806f7

Browse files
Merge pull request #315 from asieduernest12/master
fix debug overlay showing in prod
2 parents 60c586c + e2d0259 commit e9806f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/contents/content.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,8 @@ const IndexContent = () => {
161161

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

164-
const showDebugOverLay = (show = !envService.isProduction) => {
165-
if (show) return;
164+
const showDebugOverLay = () => {
165+
if (envService.isProduction) return;
166166

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

0 commit comments

Comments
 (0)