diff --git a/react/ActionsMenu/Actions/helpers.js b/react/ActionsMenu/Actions/helpers.js index e56d03073b..80de59e231 100644 --- a/react/ActionsMenu/Actions/helpers.js +++ b/react/ActionsMenu/Actions/helpers.js @@ -177,7 +177,7 @@ const addImageToPdf = async (pdfDoc, file) => { * @param {File} file * @returns {Promise} */ -const fileToArrayBuffer = async file => { +export const fileToArrayBuffer = async file => { if ('arrayBuffer' in file) return await file.arrayBuffer() return new Promise((resolve, reject) => {