Skip to content

Commit

Permalink
Fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
haworku committed Apr 19, 2024
1 parent 2fc536f commit 80470fa
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export const SingleRateSummarySection = ({
const navigate = useNavigate()
const rateRevision = rate.revisions[0]
const formData: RateFormData = rateRevision?.formData
const lastSubmittedDate = rate.revisions[0]?.submitInfo?.updatedAt
const lastSubmittedDate = rate.revisions[0]?.submitInfo?.updatedAt ?? null
const isRateAmendment = formData.rateType === 'AMENDMENT'
const isUnlocked = rate.status === 'UNLOCKED'
const explainMissingData =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ export const LinkedRateSummary = ({
caption="Rate certification"
documentCategory="Rate certification"
isEditing={false}
previousSubmissionDate={null}
/>
</SectionCard>
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export const ContractDetailsSummarySectionV2 = ({
isPreviousSubmission,
])
const lastSubmittedDate =
getLastContractSubmission(contract)?.submitInfo.updatedAt
getLastContractSubmission(contract)?.submitInfo.updatedAt ?? null
return (
<SectionCard
id="contractDetailsSection"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export const RateDetailsSummarySectionV2 = ({
? contract.draftRates
: getLastContractSubmission(contract)?.rateRevisions
const lastSubmittedDate =
getLastContractSubmission(contract)?.submitInfo.updatedAt
getLastContractSubmission(contract)?.submitInfo.updatedAt ?? null

const { getKey, getBulkDlURL } = useS3()
const [zippedFilesURL, setZippedFilesURL] = useState<
Expand Down

0 comments on commit 80470fa

Please sign in to comment.