Skip to content

Commit

Permalink
Merge branch '3.2.0' into CRDCDH-1843
Browse files Browse the repository at this point in the history
  • Loading branch information
amattu2 authored Nov 14, 2024
2 parents 239e9f0 + 106fc23 commit 5d40792
Show file tree
Hide file tree
Showing 49 changed files with 822 additions and 1,537 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "crdc-datahub-ui",
"version": "3.1.0",
"version": "3.2.0",
"dependencies": {
"@apollo/client": "^3.9.8",
"@axe-core/react": "^4.9.0",
Expand Down
4 changes: 0 additions & 4 deletions src/assets/icons/Scroll_to_top.svg

This file was deleted.

File renamed without changes
9 changes: 0 additions & 9 deletions src/assets/icons/delete_single_file_icon.svg

This file was deleted.

5 changes: 4 additions & 1 deletion src/components/Contexts/SubmissionContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { FC, createContext, useCallback, useContext, useMemo, useState }
import { ApolloError, ApolloQueryResult, useQuery } from "@apollo/client";
import { cloneDeep, isEqual } from "lodash";
import { GetSubmissionResp, GET_SUBMISSION, GetSubmissionInput } from "../../graphql";
import { compareNodeStats } from "../../utils";
import { compareNodeStats, Logger } from "../../utils";

export type SubmissionCtxState = {
/**
Expand Down Expand Up @@ -132,6 +132,9 @@ export const SubmissionProvider: FC<ProviderProps> = ({ _id, children }: Provide
setIsPolling(true);
}
},
onError: (e) => {
Logger.error("Error fetching submission data", e);
},
variables: { id: _id },
context: { clientName: "backend" },
fetchPolicy: "cache-and-network",
Expand Down
Loading

0 comments on commit 5d40792

Please sign in to comment.