This commit is contained in:
Jan Prochazka 2020-05-31 20:40:36 +02:00
parent 4b53e66100
commit bae11e9080

View File

@ -70,7 +70,7 @@ export default function TableControl({
setSelectedIndex((i) => Math.max(0, i - 1));
}
if (onKeyDown) onKeyDown(event);
}, []);
}, [setSelectedIndex, rows]);
return (
<Table