You can try all the crazy things that are suggested to combat egg eating, sometimes they work and sometimes they don't. I do know the one thing that works for me every time is to hang a curtain at the nest opening to darken the nest. I have never had a single egg eaten after using the curtain method.
https://www.backyardchickens.com/forum/viewtopic.php?pid=243159#p243159
https://www.backyardchickens.com/forum/viewtopic.php?pid=243159#p243159