anatomy scan

has anyone’s little one at 21 weeks at your anatomy scan been told to slow down on your caffeine intake because it’s causing baby’s heartbeat to skip every once in a while? she wasn’t concerned and said to come back in 2 weeks and have absolutely no caffeine. but just wanna get some insight on others experience!