aboutsummaryrefslogtreecommitdiff
path: root/src/shared/utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/utils')
-rw-r--r--src/shared/utils/keys.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shared/utils/keys.js b/src/shared/utils/keys.js
index 4579fde..f024069 100644
--- a/src/shared/utils/keys.js
+++ b/src/shared/utils/keys.js
@@ -1,4 +1,7 @@
const modifiedKeyName = (name) => {
+ if (name === ' ') {
+ return 'Space';
+ }
if (name.length === 1) {
return name;
} else if (name === 'Escape') {