Skip to content

Commit

Permalink
fix(register-new-machine): fixing type (#16673)
Browse files Browse the repository at this point in the history
  • Loading branch information
sigruntg authored Oct 31, 2024
1 parent 0887110 commit 64a5649
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@ export const getStreetRegistrationInformation = (
const licensePlateSize = getValueViaPath(
answers,
'machine.streetRegistration.size',
) as 'A' | 'B' | 'D'
) as '1' | '2' | '3'

return registerToTraffic === YES
? [
`${formatMessage(
licensePlate.labels.streetRegistration,
)}: ${formatMessage(information.labels.radioButtons.radioOptionYes)}`,
`${formatMessage(licensePlate.labels.plateSize)}: ${
licensePlateSize === 'A'
licensePlateSize === '1'
? formatMessage(licensePlate.labels.plate110)
: licensePlateSize === 'B'
: licensePlateSize === '2'
? formatMessage(licensePlate.labels.plate200)
: formatMessage(licensePlate.labels.plate155)
}`,
Expand Down

0 comments on commit 64a5649

Please sign in to comment.