Skip to content

Commit

Permalink
[Speaker] Allow consent audio to be deleted
Browse files Browse the repository at this point in the history
  • Loading branch information
imnasnainaec authored Jan 9, 2024
1 parent 32c22c7 commit 7024350
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ProjectUsers/SpeakerConsentListItemIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ function PlayConsentListItemIcon(props: ConsentIconProps): ReactElement {
return (
<ListItemIcon data-testid={ListItemIconId.PlayAudio}>
<AudioPlayer
audio={{ ...newPronunciation(props.speaker.id), protected: true }}
audio={newPronunciation(props.speaker.id)}
deleteAudio={handleDeleteAudio}
pronunciationUrl={getConsentUrl(props.speaker)}
size="small"
Expand Down

0 comments on commit 7024350

Please sign in to comment.