Skip to content

Commit 4b19fca

Browse files
committed
remove null as unknown
1 parent 30d537e commit 4b19fca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export function DevToolsPanel({
3232
dispatch: OverlayDispatch
3333
}) {
3434
const [position, setPosition] = useState<Corners>(getInitialPosition())
35-
const dialogRef = useRef<HTMLDivElement>(null as unknown as HTMLDivElement)
35+
const dialogRef = useRef<HTMLDivElement>(null)
3636

3737
// This hook lets us do an exit animation before unmounting the component
3838
const { mounted, rendered } = useDelayedRender(state.isDevToolsPanelOpen)

0 commit comments

Comments
 (0)