Keep your Figma library in sync with your code.
Recent revisions are kept. Restoring one creates a new revision.