fix: remove duplicat numbers in counter
This commit is contained in:
parent
f9bedfcdcb
commit
6587ee689b
@ -21,9 +21,7 @@ export default function Counter(props: CounterProps) {
|
|||||||
size={props.count.toString().length}
|
size={props.count.toString().length}
|
||||||
value={props.count}
|
value={props.count}
|
||||||
onInput={(ev) => props.count.value = ev.target?.value}
|
onInput={(ev) => props.count.value = ev.target?.value}
|
||||||
>
|
/>
|
||||||
{props.count}
|
|
||||||
</input>
|
|
||||||
<Button onClick={() => props.count.value += 1}>
|
<Button onClick={() => props.count.value += 1}>
|
||||||
<IconCirclePlus />
|
<IconCirclePlus />
|
||||||
</Button>
|
</Button>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user