You must first close the component, then click on the Regenerate button of the Preview.