Skip to content

Commit 17735ea

Browse files
committed
better feature blocking
1 parent 060ae18 commit 17735ea

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/next/src/next-devtools/dev-overlay/dev-overlay.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ export function DevOverlay({
4747
/>
4848
)}
4949

50-
{state.isDevToolsPanelOpen && <DevToolsPanel />}
50+
{process.env.__NEXT_DEVTOOL_NEW_PANEL_UI &&
51+
state.isDevToolsPanelOpen && <DevToolsPanel />}
5152

5253
<ErrorOverlay
5354
state={state}

0 commit comments

Comments
 (0)