add , to change to main screen

This commit is contained in:
2023-09-26 16:02:24 -04:00
parent ac655fc2c1
commit e92b4061fe

View File

@@ -57,7 +57,10 @@ export default function Recorder(props: RecorderProps) {
const handleKeyPress = (event: KeyboardEvent) => { const handleKeyPress = (event: KeyboardEvent) => {
switch (event.key) { switch (event.key) {
case "~": case "~":
location.reload(); location.href = ""
break;
case ",":
location.href = "/transcripts/new";
break; break;
case "!": case "!":
if (record.isRecording()) return; if (record.isRecording()) return;