Skip to content

Commit

Permalink
wtf how did this get here
Browse files Browse the repository at this point in the history
  • Loading branch information
KoboldCommando committed Sep 29, 2023
1 parent 477c4fd commit b226333
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions tgui/packages/tgui/interfaces/BotanySplicer.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,30 +154,6 @@ export const InsertedSeedTwo = (props, context) => {
);
};

export const InsertedBeaker = (props, context) => {
const { act, data } = useBackend(context);
const { held_beaker, working } = data;
const beaker_data = data.beaker || [];
if (!held_beaker) {
return !working && <NoticeBox info>Please insert a beaker.</NoticeBox>;
}
return (
<Section
title="Inserted Beaker"
buttons={
<Button
icon="eject"
disabled={!!working}
onClick={() => act('eject_beaker')}
content="Eject Beaker"
/>
}>
{!held_beaker && 'No Beaker detected.'}
{!!held_beaker && 'Beaker detected.'}
</Section>
);
};

export const SpliceButton = (props, context) => {
const { act, data } = useBackend(context);
const { working, seedone, seedtwo } = data;
Expand Down Expand Up @@ -214,7 +190,6 @@ export const BotanySplicer = (props, context) => {
)}
<InsertedSeedOne />
<InsertedSeedTwo />
<InsertedBeaker />
<SpliceButton />
</Window.Content>
</Window>
Expand Down

0 comments on commit b226333

Please sign in to comment.