Fidgeting baby

My 1 week old had a tongue tie division yesterday and since then she hasn’t slept properly. She’s been cluster feeding all yesterday evening and today and if she falls asleep we put her in her Moses basket but she doesn’t sleep properly. She’ll wake up straight away and won’t stop moving her arms and legs like crazy until I feed her. Also last night she slept a nice amount but she wasn’t sleeping properly as she was kicking and punching and moving around the whole time so it didn’t seem like she was sleeping deeply. The only time she’s sleeping properly is if I’m holding her after a feed and she’s completely still and having a nice sleep. Why won’t she keep still and sleep properly in the basket??