mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-03-28 10:08:11 +00:00
create handler function for controlled input
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'
This commit is contained in:
@@ -231,10 +231,6 @@ const BrewRenderer = (props)=>{
|
||||
}));
|
||||
};
|
||||
|
||||
// const handlePageChange = (pageNumber) => {
|
||||
// // Scroll to the desired page
|
||||
// scrollToPage(pageNumber);
|
||||
// };
|
||||
|
||||
return (
|
||||
<>
|
||||
|
||||
Reference in New Issue
Block a user