Skip to content

Commit 5b1d835

Browse files
authored
[red-knot] Fix double hovers/inlays in playground (#17334)
1 parent 4d50ee6 commit 5b1d835

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

playground/knot/src/Editor/Editor.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ export default function Editor({
9494

9595
const handleMount: OnMount = useCallback(
9696
(editor, instance) => {
97+
serverRef.current?.dispose();
98+
9799
const server = new PlaygroundServer(instance, {
98100
workspace,
99101
files,

0 commit comments

Comments
 (0)