Child Tax Credit in a divorce

My x-wife and I divorced in August of 2021. During the year, we received child tax credits through my bank account for my step daughter as she was marked as a dependent in 2020 when we filed jointly.  All money received was directly transferred to my x-wife upon payment into my account.

 

Now that we are divorced, and my step daughter does not live with me in addition to having no court agreement between my x-wife and myself concerning my step-daughter, do I still claim her as a dependent for 2021 and do I claim that I received the tax credit even though I transferred all of it to my x-wife?