Skip to content

Commit

Permalink
fix: remove console.logs used for debugging
Browse files Browse the repository at this point in the history
MellyGray committed Sep 22, 2023
1 parent 0cc585e commit 36318d8
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
@@ -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)
})
}
Original file line number Diff line number Diff line change
@@ -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)
)
1 change: 0 additions & 1 deletion src/sections/dataset/dataset-files/useFiles.tsx
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit 36318d8

Please sign in to comment.