diff --git a/ui/src/components/WebRTCVideo.tsx b/ui/src/components/WebRTCVideo.tsx
index a67d9b5..c8e8fdc 100644
--- a/ui/src/components/WebRTCVideo.tsx
+++ b/ui/src/components/WebRTCVideo.tsx
@@ -333,7 +333,7 @@ export default function WebRTCVideo() {
           // If altKey is false, filter out 0x04 (AltLeft)
           //
           // But intentionally do not filter out 0x40 (AltRight) to enable Alt Gr
-          // (Alt Graph) as a modifier. The `altKey` attribute is set to `false` on
+          // (Alt Graph) as a modifier. The altKey attribute is set to false on
           // key combinations involving the Alt Gr key, which means the modifier
           // would otherwise be unintentionally removed from the filteredModifiers
           // list.
@@ -341,7 +341,7 @@ export default function WebRTCVideo() {
           // For example, the KeyboardEvent for Alt Gr + 2 has the following structure:
           // - altKey: false
           // - code:   "Digit2"
-          // - type:   ["keydown" | "keyup"]
+          // - type:   ["keydown"|"keyup"]
           //
           // Adding and removing 0x40 (AltRight) from and to the list of active
           // modifiers is handled by keyUpHandler an keyDownHandler.