mirror of https://github.com/openspug/spug
F fix warning
parent
379b6c1b54
commit
ef9a8ac8af
|
@ -68,6 +68,7 @@ export default observer(function Console() {
|
|||
window.addEventListener('resize', resize)
|
||||
|
||||
return () => window.removeEventListener('resize', resize);
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, [])
|
||||
|
||||
function _makeSocket(index = 0) {
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*/
|
||||
import React, { useEffect, useRef, useState } from 'react';
|
||||
import { observer, useLocalStore } from 'mobx-react';
|
||||
import { Tooltip, Modal, Spin, Card, Progress } from 'antd';
|
||||
import { Tooltip, Modal, Spin, Card } from 'antd';
|
||||
import {
|
||||
LoadingOutlined,
|
||||
CheckCircleOutlined,
|
||||
|
|
Loading…
Reference in New Issue