mirror of
https://github.com/astral-sh/ruff.git
synced 2025-12-23 09:19:39 +00:00
[red-knot] Fix double hovers/inlays in playground (#17334)
This commit is contained in:
parent
4d50ee6f52
commit
5b1d8350ff
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue