import { classes } from 'common/react'; import { Fragment } from 'inferno'; import { useBackend } from '../backend'; import { Box, Button, Section, Table, Tooltip } from '../components'; import { Window } from '../layouts'; const VendingRow = (props, context) => { const { act, data } = useBackend(context); const { actively_vending } = data; const { product } = props; return ( {(product.isatom && ( )) || null} {product.name} {product.desc ? : null} {product.amount} in stock