File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed
client/src/components/donations Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ export function DonationFilter({
131131 value = { newDonor }
132132 onChange = { ( e ) => setNewDonor ( e . target . value ) }
133133 onKeyDown = { ( e ) => {
134- if ( e . key === "Enter" ) handleAdd ( ) ;
134+ if ( e . key === "Enter" ) handleAddDonor ( ) ;
135135 if ( e . key === "Escape" ) onAddClose ( ) ;
136136 } }
137137 />
@@ -146,4 +146,4 @@ export function DonationFilter({
146146 </ MenuList >
147147 </ Menu >
148148 ) ;
149- }
149+ }
File renamed without changes.
Original file line number Diff line number Diff line change @@ -51,12 +51,11 @@ import {
5151import { HoverCheckbox } from "../hoverCheckbox/hoverCheckbox" ;
5252import EditDrawer from "./editDonationDrawer" ;
5353import { Donation } from "./types" ;
54- import { all } from "axios" ;
5554import { downloadCSV } from "../../utils/downloadCSV" ;
56- import { LoadingWheel } from ".././loading/loading.tsx"
57- import { DonationFilter , DonationListFilter } from "./DonationFilter.tsx"
55+ import { LoadingWheel } from ".././loading/loading.tsx" ;
56+ import { DonationFilter } from "./DonationFilter.tsx" ;
57+ import { DonationListFilter } from "./DonationListFilter.tsx" ;
5858import AddDonationsDrawer from "./addDonations/addDonationsDrawer.tsx"
59- import { set } from "react-hook-form" ;
6059
6160
6261export const Donations = ( ) => {
You can’t perform that action at this time.
0 commit comments