diff --git a/lib/DonorsList/DonorsContainer.js b/lib/DonorsList/DonorsContainer.js index daba1ea1..3c914f5e 100644 --- a/lib/DonorsList/DonorsContainer.js +++ b/lib/DonorsList/DonorsContainer.js @@ -12,7 +12,7 @@ import DonorsList from './DonorsList'; import { useFetchDonors } from './hooks'; function DonorsContainer({ name, donorOrganizationIds }) { - const [donorIds, setDonorIds] = useState(() => donorOrganizationIds); + const [donorIds, setDonorIds] = useState(donorOrganizationIds); const { donors, isLoading } = useFetchDonors(donorIds); const donorsMap = donors.reduce((acc, contact) => {