fix comment

This commit is contained in:
Abhinav 2024-01-18 16:27:22 +05:30
parent 57b3e4461f
commit 431a53d8d8

View file

@ -516,7 +516,7 @@ function PhotoViewer(props: Iprops) {
e: KeyboardEvent,
direction: 'left' | 'right'
) => {
// ignore ctrl/cmd + a if the user is typing in a text field
// ignore arrow clicks if the user is typing in a text field
if (
e.target instanceof HTMLInputElement ||
e.target instanceof HTMLTextAreaElement