Skip to content

Commit

Permalink
fix: remove console.logs used for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
MellyGray committed Sep 22, 2023
1 parent e6e86e3 commit e5d74cb
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/files/infrastructure/FileJSDataverseRepository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
})
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ export function FilesPagination({
pageSize,
total
}: FilesPaginationProps) {
console.log('FilesPagination', page, pageSize, total)
const [paginationInfo, setPaginationInfo] = useState<FilePaginationInfo>(
new FilePaginationInfo(page, pageSize, total)
)
Expand Down
1 change: 0 additions & 1 deletion src/sections/dataset/dataset-files/useFiles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e5d74cb

Please sign in to comment.