diff --git a/src/components/ScheduleDrawer/pages/AssetFormPage/SpendingInput.tsx b/src/components/ScheduleDrawer/pages/AssetFormPage/SpendingInput.tsx index 2a11da0d..f5f87f19 100644 --- a/src/components/ScheduleDrawer/pages/AssetFormPage/SpendingInput.tsx +++ b/src/components/ScheduleDrawer/pages/AssetFormPage/SpendingInput.tsx @@ -1,6 +1,5 @@ import { Box, - Button, FormControl, FormHelperText, InputBase, @@ -22,12 +21,6 @@ function SpendingInput() { const expectedSpending = scheduleForm ? scheduleForm?.set_amount : "0"; const [showError, setShowError] = useState(false); - const changeSchedule = (state: React.MouseEvent) => { - updateSchedule({ - target: { id: state.currentTarget.id, value: state.currentTarget.value }, - }); - }; - const changeAmount = (state: React.ChangeEvent) => { const amount = state.target.value.replaceAll(",", ""); if (Number(amount) > 100000000 && !showError) { @@ -70,52 +63,6 @@ function SpendingInput() { {SCHEDULE_DRAWER.set_spending_title} - - - - - -