This commit is contained in:
Abhinav 2022-11-22 20:19:57 +05:30
parent 8d1dedd9f6
commit 35f3a14787

View file

@ -104,7 +104,7 @@ function PhotoViewer(props: Iprops) {
useEffect(() => {
if (!photoSwipe) return;
function handleKeyUp(event) {
function handleKeyUp(event: KeyboardEvent) {
if (!isOpen || showInfo) {
return;
}