Correction to: Nature https://doi.org/10.1038/s41586-024-07455-4 Published online 29 May 2024

In the version of this article initially published, Nikolaos Chalmpes (Department of Materials Science and Engineering, Cornell University, Ithaca, NY, USA) was not included in the author list or Author contributions (prepared the MoS2 nanoplatelets), and is now included in the HTML and PDF versions of the article.