I received $2,700 NJ Unemployment Insurance in 2021. I paid tax on that. They made an error, now I am repaying. Do I get any credit?

I was overpaid unemployment in 2021, their mistake.  Need to repay $10,800 how do I get credit?