Correction to: Nature Materials https://doi.org/10.1038/s41563-024-02071-z, published online 20 January 2025.

In the version of the article initially published, the y axis of Fig. 2e read “0, 0.6, 0.6, 0.6, 0.8” but should have read “0, 0.2, 0.4, 0.6, 0.8”. This error has now been corrected in the HTML and PDF versions of the article.