File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
packages/next/src/next-devtools/dev-overlay/components/devtools-panel/devtools-panel-tab Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 1
- import type {
2
- OverlayDispatch ,
3
- OverlayState ,
4
- DevToolsIndicatorPosition ,
5
- } from '../../../shared'
1
+ import type { OverlayDispatch , OverlayState , Corners } from '../../../shared'
6
2
7
3
import { useTheme } from '../hooks/use-theme'
8
4
import { Select } from '../../select/select'
@@ -70,7 +66,7 @@ export function SettingsTab({
70
66
function handlePositionChange ( e : React . ChangeEvent < HTMLSelectElement > ) {
71
67
dispatch ( {
72
68
type : ACTION_DEVTOOLS_INDICATOR_POSITION ,
73
- indicatorPosition : e . target . value as DevToolsIndicatorPosition ,
69
+ indicatorPosition : e . target . value as Corners ,
74
70
} )
75
71
localStorage . setItem ( STORAGE_KEY_POSITION , e . target . value )
76
72
}
You can’t perform that action at this time.
0 commit comments