Pregnancy food

Is it fine to eat chocolate in early pregnancy ?? I heard its not safe and can cause miscariage anyone can relate? 🙄