diff --git a/packages/app-headless-cms/src/admin/components/ContentEntryForm/useGoToRevision.ts b/packages/app-headless-cms/src/admin/components/ContentEntryForm/useGoToRevision.ts index da582b4a713..c2c6e87dead 100644 --- a/packages/app-headless-cms/src/admin/components/ContentEntryForm/useGoToRevision.ts +++ b/packages/app-headless-cms/src/admin/components/ContentEntryForm/useGoToRevision.ts @@ -7,7 +7,7 @@ export const useGoToRevision = () => { const { history, search } = useRouter(); const goToRevision = useCallback( - id => { + (id: string) => { const fId = search[0].get("folderId"); const folderId = fId ? `&folderId=${encodeURIComponent(fId)}` : ""; history.push(