text: import Axios from 'axios';
  import { useAuthHeader } from '../useAuthHeader';
  export const useUploadPdf = (file, presentationID) => {
      const additionalHeaders = 'multipart';
      const formData = new FormData();
      formData.append("file", file);
      formData.append("presentation_id", presentationID);
      return Axios.post(`/api/pages`, formData, useAuthHeader(additionalHeaders));
      
  }