diff --git a/src/files/infrastructure/FileJSDataverseRepository.ts b/src/files/infrastructure/FileJSDataverseRepository.ts index dd221a16c..6b5006692 100644 --- a/src/files/infrastructure/FileJSDataverseRepository.ts +++ b/src/files/infrastructure/FileJSDataverseRepository.ts @@ -73,7 +73,6 @@ export class FileJSDataverseRepository implements FileRepository { return JSFileMapper.toFilesCountInfo(jsFilesCountInfo) }) .catch((error: WriteError) => { - console.error('Error getting files count info from Dataverse', error) throw new Error(error.message) }) } diff --git a/src/sections/dataset/dataset-files/files-pagination/FilesPagination.tsx b/src/sections/dataset/dataset-files/files-pagination/FilesPagination.tsx index 5220275a2..7a6c3c976 100644 --- a/src/sections/dataset/dataset-files/files-pagination/FilesPagination.tsx +++ b/src/sections/dataset/dataset-files/files-pagination/FilesPagination.tsx @@ -18,7 +18,6 @@ export function FilesPagination({ pageSize, total }: FilesPaginationProps) { - console.log('FilesPagination', page, pageSize, total) const [paginationInfo, setPaginationInfo] = useState( new FilePaginationInfo(page, pageSize, total) ) diff --git a/src/sections/dataset/dataset-files/useFiles.tsx b/src/sections/dataset/dataset-files/useFiles.tsx index 5617803c0..27bedeaac 100644 --- a/src/sections/dataset/dataset-files/useFiles.tsx +++ b/src/sections/dataset/dataset-files/useFiles.tsx @@ -28,7 +28,6 @@ export function useFiles( .then((filesCountInfo: FilesCountInfo) => { setFilesCountInfo(filesCountInfo) onPaginationInfoChange(paginationInfo.withTotal(filesCountInfo.total)) - console.log(paginationInfo) }) .catch((error) => { console.error('There was an error getting the files count info', error)