diff --git a/com.twin.app.shoptime/src/views/DetailPanel/components/FavoriteBtn.jsx b/com.twin.app.shoptime/src/views/DetailPanel/components/FavoriteBtn.jsx index 330fa6e2..4f702f5a 100644 --- a/com.twin.app.shoptime/src/views/DetailPanel/components/FavoriteBtn.jsx +++ b/com.twin.app.shoptime/src/views/DetailPanel/components/FavoriteBtn.jsx @@ -66,18 +66,27 @@ export default function FavoriteBtn({ onFavoriteFlagChanged(favoriteFlag === 'Y' ? 'N' : 'Y'); }, [dispatch, favoriteFlag, onFavoriteFlagChanged]); + const handleFavoriteKeyDown = useCallback((e) => { + if (e.key === 'Enter') { + e.preventDefault(); + handleFavoriteClick(); + } + }, [handleFavoriteClick]); + return (
{activePopup === Config.ACTIVE_POPUP.favoritePopup && (