Skip to content

Commit 9680794

Browse files
ShellishackCopilot
andauthored
Update web/components/interface/context-menu.tsx
Co-authored-by: Copilot <[email protected]>
1 parent d25b5cb commit 9680794

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

web/components/interface/context-menu.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ export default function ContextMenu({
2424
>
2525
<Popover
2626
onClose={() => {
27-
console.log("Popover closed");
27+
if (process.env.NODE_ENV === 'development') {
28+
console.log("Popover closed");
29+
}
2830
setState({ isOpen: false, x: 0, y: 0 });
2931
}}
3032
isOpen={state.isOpen}

0 commit comments

Comments
 (0)