Deductions & credits

Understood about ineligible contributions. What about HSA distributions/dispersements for medical expenses? 

The situation is: at the end of 2021, I got married. My spouse already had an HSA, with a balance. I had a FSA that started in 2022, so that means she wasn't eligible to contribute to her HSA that year, even though she had a HDHP. But she did take distributions from the HSA account, from prior year's contributions, for medical expenses incurred in 2022. 

Is that allowed? Do we need to do anything special about that?