Moved onChange handler function to a component method and simplified it a smidge. Must use parseInt now because the input type will change to 'text' rather than 'number'
Moved onChange handler function to a component method and simplified it a smidge. Must use parseInt now because the input type will change to 'text' rather than 'number'