QCO az tax credit donation made in March 2025 for 2024 tax year

so i make a $50 donation to a QCO  for a credit to decrease my Az tax 2024 owed. now the program says i have to go back the the Fed sched A to put it on the itemized list. but, since i'm doing the actual donation in 2025, do i wait and put it on the list for 2025 fed taxes? i take the standard deduction for both Feds and AZ.