Correction to: Nature Energy https://doi.org/10.1038/s41560-023-01435-0, published online 8 January 2024.

In the version of the article initially published, there was an error in Fig. 2 where panel a was a duplicate of panel c. This has now been corrected in the HTML and PDF versions of the article.