Paying taxes on earnings from excess contribution to Roth IRA

In 2022, I contributed to a Roth IRA for tax year 2021 and earned $58 in realized gains before noticing that my income was over the limit. I took the money out of that Roth IRA and did a backdoor Roth.

This year I received a 1099-R showing that as a distribution with codes 8J in box 7, which looks right to me. But there's nothing in box 2a, where I was expecting those $58 in gains.

 

Is my understanding correct? Should I go ahead and just put that down or do I need to go back to my brokerage and have them correct the form 1099-R? If my understanding is not correct, where in TurboTax do I pay the taxes and (I think) the early withdrawal penalty for those gains?

 

Thank you very much in advance.