To do this, click on the three dots in the top right-hand corner of a loop component to display the version history and restore previous versions.