Is the floor covered in soft bedding? Sometimes if the egg cracks and the hen inspects it, she will eat it. Other times it can sadly be a bad habit. I would put some fake eggs in the areas you find her eggs. Hopefully she tries pecking at those and realize they won’t break.