Correction to: Nature Immunology https://doi.org/10.1038/s41590-023-01538-6. Published online 22 June 2023.

In the version of this article originally published, there was an error in the table in Fig. 3b: the label currently reading “CCR7” appeared as “CDR7”. The label has been corrected in the HTML and PDF versions of the article.