From 81ba693da2d26d5a7d0ca94df5f858072bdd328e Mon Sep 17 00:00:00 2001 From: Seiya Tagami Date: Wed, 7 Aug 2024 22:57:42 +0900 Subject: [PATCH] Revert "refac: photoClickWrapper click event" --- app/islands/PhotoClickWrapper.tsx | 13 ++++--------- biome.json | 3 --- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/app/islands/PhotoClickWrapper.tsx b/app/islands/PhotoClickWrapper.tsx index 0aab86a..54605ad 100644 --- a/app/islands/PhotoClickWrapper.tsx +++ b/app/islands/PhotoClickWrapper.tsx @@ -23,21 +23,16 @@ const PhotoClickWrapper: FC = ({ children, imageUrl, imageAlt }) => { return ( <> - {isClicked && ( -
-
- {imageAlt} e.stopPropagation()} - /> + {imageAlt}
)} diff --git a/biome.json b/biome.json index 3770e52..d943482 100644 --- a/biome.json +++ b/biome.json @@ -14,9 +14,6 @@ }, "complexity": { "noBannedTypes": "warn" - }, - "a11y": { - "useKeyWithClickEvents": "warn" } } },