import { useBackend } from '../backend'; import { Box, Button, LabeledList, Section, NoticeBox } from '../components'; import { Window } from '../layouts'; export const BotanyIsolator = (props, context) => { const { act, data } = useBackend(context); const { geneMasks, activity, degradation, disk, loaded, hasGenetics, sourceName } = data; if (activity) { return ( Scanning... ); } return (
{(hasGenetics && ( {sourceName} {degradation}% {(disk && geneMasks.length && geneMasks.map((mask) => ( ))) || null} {(disk && ( )) || ( No disk inserted. )} )) || ( No Data Buffered. {(disk && ( )) || ( No disk inserted. )} )}
{(loaded && ( {loaded} )) || No packet loaded.}
); };