import { useBackend } from '../backend';
import { Box, Button, LabeledList, Section, NoticeBox } from '../components';
import { Window } from '../layouts';
export const BotanyEditor = (props, context) => {
const { act, data } = useBackend(context);
const { activity, degradation, disk, sourceName, locus, loaded } = data;
if (activity) {
return (
Scanning...
);
}
return (
{(disk && (
{sourceName}
{degradation}%
{locus}
)) || No disk loaded.}
{(loaded && (
{loaded}
)) || No target seed packet loaded.}
);
};