Skip to content

Commit

Permalink
fix: use type
Browse files Browse the repository at this point in the history
  • Loading branch information
disaerna committed Oct 7, 2024
1 parent f0ab8c3 commit e0c10c2
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,7 @@ export class LawAndOrderService {

const defenderChoice = subpoena?.defenderInfo?.defenderChoice
const message = defenderChoice
? formatMessage(
DefenseChoices[subpoena?.defenderInfo.defenderChoice].message,
)
? formatMessage(DefenseChoices[defenderChoice].message)
: ''

const data: Subpoena = {
Expand Down

0 comments on commit e0c10c2

Please sign in to comment.