diff --git a/packages/edit-site/src/components/sidebar-edit-mode/template-revisions/index.js b/packages/edit-site/src/components/sidebar-edit-mode/template-revisions/index.js index 3782dccfb7e287..e2e6f48a7a966b 100644 --- a/packages/edit-site/src/components/sidebar-edit-mode/template-revisions/index.js +++ b/packages/edit-site/src/components/sidebar-edit-mode/template-revisions/index.js @@ -19,8 +19,7 @@ const useRevisionData = () => { currentTemplate?._links?.[ 'predecessor-version' ]?.[ 0 ]?.id ?? null; const revisionsCount = - ( currentTemplate?._links?.[ 'version-history' ]?.[ 0 ]?.count ?? 0 ) + - 1; + currentTemplate?._links?.[ 'version-history' ]?.[ 0 ]?.count ?? 0; return { currentTemplate,