Hello!
Hens eating their eggs is often a sign of malnutrition, stress, boredom, or bullying from other chickens. What kind of layer pellets are you feeding her? How much?
Is she kept in a small confined space?
Does she have space to get away from the other chickens if necessary?