File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
packages/next/src/next-devtools/dev-overlay
components/devtools-indicator Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import {
10
10
MENU_DURATION_MS ,
11
11
} from '../errors/dev-tools-indicator/utils'
12
12
import {
13
- ACTION_DEV_TOOLS_PANEL_TOGGLE ,
13
+ ACTION_DEVTOOLS_PANEL_TOGGLE ,
14
14
ACTION_ERROR_OVERLAY_TOGGLE ,
15
15
STORAGE_KEY_POSITION ,
16
16
} from '../../shared'
@@ -42,7 +42,7 @@ export function DevToolsIndicator({
42
42
}
43
43
44
44
const toggleDevToolsPanel = ( ) => {
45
- dispatch ( { type : ACTION_DEV_TOOLS_PANEL_TOGGLE } )
45
+ dispatch ( { type : ACTION_DEVTOOLS_PANEL_TOGGLE } )
46
46
}
47
47
48
48
return (
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ export const ACTION_BUILDING_INDICATOR_SHOW = 'building-indicator-show'
50
50
export const ACTION_BUILDING_INDICATOR_HIDE = 'building-indicator-hide'
51
51
export const ACTION_RENDERING_INDICATOR_SHOW = 'rendering-indicator-show'
52
52
export const ACTION_RENDERING_INDICATOR_HIDE = 'rendering-indicator-hide'
53
- export const ACTION_DEV_TOOLS_PANEL_TOGGLE = 'dev-tools-panel-toggle'
53
+ export const ACTION_DEVTOOLS_PANEL_TOGGLE = 'dev-tools-panel-toggle'
54
54
55
55
export const STORAGE_KEY_THEME = '__nextjs-dev-tools-theme'
56
56
export const STORAGE_KEY_POSITION = '__nextjs-dev-tools-position'
@@ -124,7 +124,7 @@ export interface RenderingIndicatorHideAction {
124
124
}
125
125
126
126
export interface DevToolsPanelToggleAction {
127
- type : typeof ACTION_DEV_TOOLS_PANEL_TOGGLE
127
+ type : typeof ACTION_DEVTOOLS_PANEL_TOGGLE
128
128
}
129
129
130
130
export type DispatcherEvent =
@@ -347,7 +347,7 @@ export function useErrorOverlayReducer(
347
347
case ACTION_RENDERING_INDICATOR_HIDE : {
348
348
return { ...state , renderingIndicator : false }
349
349
}
350
- case ACTION_DEV_TOOLS_PANEL_TOGGLE : {
350
+ case ACTION_DEVTOOLS_PANEL_TOGGLE : {
351
351
return { ...state , isDevToolsPanelOpen : ! state . isDevToolsPanelOpen }
352
352
}
353
353
default : {
You can’t perform that action at this time.
0 commit comments