Taxability of state income tax refund

I lived in two states in 2023.  In 2024, I received a 2023 state income tax refund for State A and no refund for State B.  I live in State B and no longer have to file a tax return in State A.  Do I have to list my 2023 State A refund, received in 2024, on my 2024 federal return as 2024 income?