Explorar o código

Remove unused flush-changes listener (#24449)

GitOrigin-RevId: e22a6677617e1d20f9cd4fce38653d126714a553
Alf Eaton hai 1 ano
pai
achega
e754ee9cb4

+ 0 - 7
services/web/frontend/js/features/ide-react/context/editor-manager-context.tsx

@@ -633,13 +633,6 @@ export const EditorManagerProvider: FC = ({ children }) => {
     }, [])
   )
 
-  useEventListener(
-    'flush-changes',
-    useCallback(() => {
-      openDocs.flushAll()
-    }, [openDocs])
-  )
-
   useEventListener(
     'blur',
     useCallback(() => {