Retirement tax questions

Thanks so much for that very helpful response.  My refund is for a local tax in prior tax years -- 2021 and 2022.    The city tax was refunded because some work was done at home rather than in the city.  If I took the standard deduction in those years, I do not need to enter the 1099-G at all on my taxes?  Again, thank you for such a quick and complete response!!