Sleeping in sweater ?

Hi,

My 10 month old fell asleep on a car ride home and since she didn’t nap all day she continued to sleep when we got home. Is it safe for her to sleep in a crew neck sweater? Or should i wake her up and change her into her pajamas ?