B.C.
When our son was small he needed me with him to fall asleep.
It was a bit of a problem if he woke in the night because he needed me to fall asleep again.
I backed off on the snuggling slowly - made it short - then sat near him in the rocking chair till he drifted off.
Eventually the chair moved closer to the door.
And finally he could fall asleep without me being in the room.
I'd come check on him before I went to bed.
Make an effort to wean her away from it slowly.
Also try to wear her out (run her around after school) so she's tired enough to fall asleep quickly.