import { useBackend } from '../../backend'; import { Box, LabeledList, Section } from '../../components'; export const pda_janitor = (props, context) => { const { act, data } = useBackend(context); const { janitor } = data; return ( {(janitor.user_loc.x === 0 && Unknown) || ( {janitor.user_loc.x} / {janitor.user_loc.y} )}
{(janitor.mops && ( )) || No mops detected nearby.}
{(janitor.buckets && ( )) || No buckets detected nearby.}
{(janitor.cleanbots && ( )) || No cleanbots detected nearby.}
{(janitor.carts && ( )) || No janitorial carts detected nearby.}
); };