diff --git a/packages/edit-site/src/components/global-styles/screen-revisions/index.js b/packages/edit-site/src/components/global-styles/screen-revisions/index.js index 5d0ebcc0fae2ee..dab5c77176bfdd 100644 --- a/packages/edit-site/src/components/global-styles/screen-revisions/index.js +++ b/packages/edit-site/src/components/global-styles/screen-revisions/index.js @@ -86,19 +86,6 @@ function ScreenRevisions() { onCloseRevisions(); }; - const selectRevision = ( revision ) => { - setCurrentlySelectedRevision( { - /* - * The default must be an empty object so that - * `mergeBaseAndUserConfigs()` can merge them correctly. - */ - styles: revision?.styles || {}, - settings: revision?.settings || {}, - _links: revision?._links || {}, - id: revision?.id, - } ); - }; - useEffect( () => { if ( ! editorCanvasContainerView || @@ -178,7 +165,7 @@ function ScreenRevisions() { /> ) ) }