mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 09:46:28 +08:00
ui: update eslint rules
This commit is contained in:
1 parent
0e07c64cad
commit
5e8d2b1286
30 files changed
+73
-72
No files matched your search
@@ -59,7 +59,7 @@ export function TestCaseEntry({ index, subindex }) {
|
||||
output: useRef(),
|
||||
};
|
||||
for (const type of ['input', 'output']) {
|
||||
useEffect(() => {
|
||||
useEffect(() => { // eslint-disable-line
|
||||
refs[type].current?.setSelectedItems(testcase[type] ? [testcase[type]] : []);
|
||||
}, [testcase[type]]);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user