Correction to: Nature Neuroscience https://www.nature.com/articles/s41593-023-01455-9, published 16 October 2023.

In the version of the article originally published, in Extended Data Fig. 10g, the Pou3f1 Control and SNI images were in reverse order. The figure has been amended in the HTML and PDF versions of the article.