Skip to content

Commit b1028ed

Browse files
committed
use type corners
1 parent 6d309aa commit b1028ed

File tree

1 file changed

+1
-2
lines changed
  • packages/next/src/next-devtools/dev-overlay

1 file changed

+1
-2
lines changed

packages/next/src/next-devtools/dev-overlay/shared.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,8 +212,7 @@ export const INITIAL_OVERLAY_STATE: Omit<
212212
debugInfo: { devtoolsFrontendUrl: undefined },
213213
isDevToolsPanelOpen: false,
214214
indicatorPosition:
215-
(localStorage.getItem(STORAGE_KEY_POSITION) as DevToolsIndicatorPosition) ??
216-
'bottom-left',
215+
(localStorage.getItem(STORAGE_KEY_POSITION) as Corners) ?? 'bottom-left',
217216
}
218217

219218
function getInitialState(

0 commit comments

Comments
 (0)