diff --git a/packages/component-dashboard/src/redux/conversion.js b/packages/component-dashboard/src/redux/conversion.js index 4b709a18bc8f01d3bcd6df34cd07bdd0b3753238..575cdbfb94d71a97e16c2e61aa03b068fba7bc7e 100644 --- a/packages/component-dashboard/src/redux/conversion.js +++ b/packages/component-dashboard/src/redux/conversion.js @@ -1,5 +1,5 @@ import { actions } from 'pubsweet-client' -import { ink as convertToHTML } from 'pubsweet-component-ink-frontend/actions' +import { ink } from 'pubsweet-component-ink-frontend/actions' import uploadFile from 'xpub-upload' import { generateTitle, extractTitle } from '../lib/title' @@ -44,7 +44,7 @@ export const uploadManuscript = (acceptedFiles, history) => dispatch => { const fileURL = request.responseText - dispatch(convertToHTML(inputFile, {})) + dispatch(ink(inputFile, { recipe: 'editoria-typescript' })) .then(response => { if (!response.converted) { throw new Error('The file was not converted')