| | |
| | | import Insight from "./insight"; |
| | | import Device from "./Device"; |
| | | import Settings from "./settings"; |
| | | import Batch from "./batch"; |
| | | import * as Http from './http'; |
| | | import WebSocketClient from './websocket' |
| | | import ConfirmButton from "../page/components/ConfirmButton"; |
| | |
| | | const [insightVisible, setInsightVisible] = useState(false); |
| | | const [deviceVisible, setDeviceVisible] = useState(false); |
| | | const [settingsVisible, setSettingsVisible] = useState(false); |
| | | const [batchSelectionVisible, setBatchSelectionVisible] = useState(false); |
| | | |
| | | const [spriteSettings, setSpriteSettings] = useState(null); |
| | | const prevSpriteSettingsRef = useRef(); |
| | | const [batchSprites, setBatchSprites] = useState([]); |
| | | |
| | | const [curZone, setCurZone] = useState(() => { |
| | | const storedValue = localStorage.getItem('curZone'); |
| | |
| | | width={570} |
| | | /> |
| | | |
| | | <Batch |
| | | open={batchSelectionVisible} |
| | | onCancel={() => { |
| | | setBatchSelectionVisible(false); |
| | | }} |
| | | /> |
| | | |
| | | </Box> |
| | | ); |
| | | } |