Skip to content

Commit

Permalink
techfab (#10418)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tsar-Salat authored Jan 3, 2024
1 parent 7e7829e commit 6785105
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tgui/packages/tgui/interfaces/TechFab.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,14 +89,14 @@ const Material = (props, context) => {
<Flex.Item>
<Flex className="TechFab__ButtonsContainer">
{material_dispense_amounts.map((amount) => (
<Flex.Item key={material.id + amount}>
<Flex.Item key={material.name + amount}>
<Button
className="TechFab__NumberButton"
content={amount}
disabled={material.amount < amount}
onClick={() =>
act('ejectsheet', {
material_id: material.id,
material_id: material.name,
amount: amount,
})
}
Expand Down

0 comments on commit 6785105

Please sign in to comment.