Skip to content

Commit

Permalink
Fix typecheck
Browse files Browse the repository at this point in the history
  • Loading branch information
zoontek committed Mar 18, 2024
1 parent d87a67c commit 648796e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion clients/banking/src/components/SupportingDocumentsForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ export const SupportingDocumentsForm = forwardRef<SupportingDocumentsFormRef, Pr
RequestSupportingDocumentCollectionReviewDocument,
);

const supportingDocumentCollectionRef = useRef<SupportingDocumentCollectionRef>(null);
const supportingDocumentCollectionRef =
useRef<SupportingDocumentCollectionRef<SupportingDocumentPurposeEnum>>(null);

const requestReview = () => {
return requestSupportingDocumentCollectionReview({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ export const OnboardingCompanyDocuments = ({
GenerateSupportingDocumentUploadUrlDocument,
);
const [showConfirmModal, setShowConfirmModal] = useBoolean(false);
const supportingDocumentCollectionRef = useRef<SupportingDocumentCollectionRef>(null);
const supportingDocumentCollectionRef =
useRef<SupportingDocumentCollectionRef<SupportingDocumentPurposeEnum>>(null);

const onPressPrevious = () => {
Router.push(previousStep, { onboardingId });
Expand Down

0 comments on commit 648796e

Please sign in to comment.