mirror of https://github.com/astral-sh/ruff
[red-knot] Fix double hovers/inlays in playground (#17334)
This commit is contained in:
parent
4d50ee6f52
commit
5b1d8350ff
|
|
@ -94,6 +94,8 @@ export default function Editor({
|
|||
|
||||
const handleMount: OnMount = useCallback(
|
||||
(editor, instance) => {
|
||||
serverRef.current?.dispose();
|
||||
|
||||
const server = new PlaygroundServer(instance, {
|
||||
workspace,
|
||||
files,
|
||||
|
|
|
|||
Loading…
Reference in New Issue