Skip to content

Commit

Permalink
Add back query variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Alejandro-Vega committed Jan 2, 2025
1 parent 4e5230c commit db0ccaa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/Contexts/SubmissionContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,9 @@ export const SubmissionProvider: FC<ProviderProps> = ({ _id, children }: Provide
updateQuery,
} = useQuery<GetSubmissionResp, GetSubmissionInput>(GET_SUBMISSION, {
notifyOnNetworkStatusChange: true,
variables: { id: _id },
context: { clientName: "backend" },
fetchPolicy: "cache-and-network",
onCompleted: (d) => {
const isValidating =
d?.getSubmission?.fileValidationStatus === "Validating" ||
Expand Down

0 comments on commit db0ccaa

Please sign in to comment.