Skip to content

Commit c96b860

Browse files
authored
Add Close Button to Audio Permissions Modal (#542)
* Add button * Switch translations
1 parent 1bc159e commit c96b860

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

frontend/src/components/AudioRecorder/AudioRecorder.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,14 @@ class AudioRecorder extends React.Component {
9797
}
9898
alt="instructions"
9999
/>
100+
<div className="bottom-butts">
101+
<Button
102+
onClick={this.discardRecording}
103+
className="btn-discard-recording"
104+
>
105+
{this.state.lang.components.audio.close}
106+
</Button>
107+
</div>
100108
</>
101109
);
102110
} else {

0 commit comments

Comments
 (0)