mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
upgrade deps
This commit is contained in:
26 files changed
+60
-74
No files matched your search
@@ -1,4 +1,3 @@
|
||||
/* eslint-disable react-refresh/only-export-components */
|
||||
import type { ProblemConfigFile, TestCaseConfig } from 'hydrooj/src/interface';
|
||||
import { diffLines } from 'diff';
|
||||
import $ from 'jquery';
|
||||
|
||||
@@ -68,6 +68,7 @@ export function SelectionManager(props: SelectionManagerProps) {
|
||||
const cleanupSelection = React.useCallback(() => {
|
||||
selecting.current = false;
|
||||
document.body.removeEventListener('mousemove', handleMouseMove);
|
||||
// eslint-disable-next-line ts/no-use-before-define
|
||||
document.body.removeEventListener('mouseup', handleMouseUp);
|
||||
$('#divSelectArea').remove();
|
||||
$('body').css('cursor', 'default');
|
||||
|
||||
Reference in new issue
Block a user