🐛(frontend) fix inverted keyboard shortcuts for video and microphone

Correct accidentally swapped keyboard shortcuts between video and
microphone toggle controls introduced during device component
refactoring, restoring expected shortcut behavior reported by users.
This commit is contained in:
lebaudantoine
2025-10-09 22:42:01 +02:00
parent 469e824167
commit f2f26391a5
@@ -6,12 +6,12 @@ export const useDeviceShortcut = (kind: MediaDeviceKind) => {
switch (kind) {
case 'audioinput':
return {
key: 'e',
key: 'd',
ctrlKey: true,
}
case 'videoinput':
return {
key: 'd',
key: 'e',
ctrlKey: true,
}
default: