Correction to: Nature Communications https://doi.org/10.1038/s41467-023-35971-w, published online 17 January 2023

The original version of this Article contained a typographical error in the affiliation details for Authors Xinghao Li, Jin Wen, Linlin Zheng, Cheng Qian, Zhonghua Cheng, Hongyu Zuo, Mingqing Yu, Weiyi Zhang, and Yaozu Liao, which was previously incorrectly given as ‘1State Key Laboratory for Modification of Chemical Fibers and Polymer Materials, College of Materials Science and Engineering, Donghua University, Shanghai, 201620, China’ but should have been ‘State Key Laboratory for Modification of Chemical Fibers and Polymer Materials, College of Materials Science and Engineering, Donghua University, Shanghai, 201620, China’.

Furthermore, in the original Methods section, one of the subheadings also contained a typographical error and was incorrectly given as ‘Synthesis of 4-cyanomethy-1-viny-1,2,4-triazolium bromide’ but should have been ‘Synthesis of 4-cyanomethyl-1-vinyl-1,2,4-triazolium bromide’.

These have been corrected in both the PDF and HTML versions of the Article.