Skip to content

Commit 30f6bd7

Browse files
FabiDauTimDaub
authored andcommitted
added JSS function to serve css attributes to the NominalAllocator
1 parent f063f77 commit 30f6bd7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/NominalAllocator/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@
22
import { html } from "htm/preact";
33

44
function NominalAllocator(props) {
5+
56
const increment = () => {
67
if (props.value < props.max) {
78
props.onUpdate(props.value + 1);
89
}
10+
911
};
1012

1113
const decrement = () => {

0 commit comments

Comments
 (0)