File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed
packages/next/src/next-devtools/dev-overlay Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -39,13 +39,17 @@ export function DevOverlay({
39
39
< >
40
40
{ state . showIndicator &&
41
41
( process . env . __NEXT_DEVTOOL_NEW_PANEL_UI ? (
42
- < DevToolsIndicatorNew
43
- scale = { scale }
44
- state = { state }
45
- dispatch = { dispatch }
46
- errorCount = { totalErrorCount }
47
- isBuildError = { isBuildError }
48
- />
42
+ < >
43
+ < DevToolsIndicatorNew
44
+ scale = { scale }
45
+ state = { state }
46
+ dispatch = { dispatch }
47
+ errorCount = { totalErrorCount }
48
+ isBuildError = { isBuildError }
49
+ />
50
+
51
+ { state . isDevToolsPanelOpen && < DevToolsPanel /> }
52
+ </ >
49
53
) : (
50
54
< DevToolsIndicator
51
55
scale = { scale }
@@ -57,9 +61,6 @@ export function DevOverlay({
57
61
/>
58
62
) ) }
59
63
60
- { process . env . __NEXT_DEVTOOL_NEW_PANEL_UI &&
61
- state . isDevToolsPanelOpen && < DevToolsPanel /> }
62
-
63
64
< ErrorOverlay
64
65
state = { state }
65
66
dispatch = { dispatch }
You can’t perform that action at this time.
0 commit comments