diff --git a/tgui/packages/tgui/interfaces/ResinPanel.tsx b/tgui/packages/tgui/interfaces/ResinPanel.tsx index 714c2e8c12..906d00eacd 100644 --- a/tgui/packages/tgui/interfaces/ResinPanel.tsx +++ b/tgui/packages/tgui/interfaces/ResinPanel.tsx @@ -1,7 +1,7 @@ +import { BooleanLike, classes } from 'common/react'; import { useBackend } from 'tgui/backend'; import { Box, Button, Dropdown, Section, Stack, Tabs } from 'tgui/components'; import { Window } from 'tgui/layouts'; -import { BooleanLike, classes } from 'common/react'; interface ResinPanelData { structure_list: StructureEntry[]; @@ -34,7 +34,8 @@ export const ResinPanel = () => { width={350} height={15 + structure_list.length * 80} title="Resin Panel" - theme="admin"> + theme="admin" + >
{ { } scrollable - fill> + fill + > {structure_list.map((item, index) => ( - act('set_selected_structure', { type: item.id }) - }> + onClick={() => act('set_selected_structure', { type: item.id })} + >