import { Fragment } from 'inferno'; import { useBackend } from '../backend'; import { toFixed } from 'common/math'; import { RADIO_CHANNELS } from '../constants'; import { Button, LabeledList, NumberInput, NoticeBox, Section, Input } from '../components'; export const TeleInteract = props => { const { act, data } = useBackend(props); const { notice = "", multitool = false, multitool_buf = null, machine = null, links = [], freq_listening = [], } = data; const { power = false, id = "NULL", network, prefab = false, hidden = false, isrelay = false, isbus = false, } = machine; return ( {!!notice && ( {notice} )}
) : ( '' )} ); };