Correction to: Nature Immunology https://doi.org/10.1038/s41590-024-01743-x, published online 9 February 2024.

In the version of this article initially published, due to a mistake in figure assembly, the images shown in the “Naive” column of Fig. 5c,e were duplicates of Fig. 5a. The error was in presentation only. The figure has been updated in the HTML and PDF versions of the article.