Add confirmation dialog before deleting review items (#12950)

This commit is contained in:
Josh Hawkins
2024-08-11 07:25:09 -05:00
committed by GitHub
parent 9b96211faf
commit 77bf710299
5 changed files with 263 additions and 116 deletions

View File

@@ -141,7 +141,7 @@ export default function VideoControls({
}, [volume, muted]);
const onKeyboardShortcut = useCallback(
(key: string, modifiers: KeyModifiers) => {
(key: string | null, modifiers: KeyModifiers) => {
if (!modifiers.down) {
return;
}