diff --git a/frontend/src/components/profile/ProfileCard.jsx b/frontend/src/components/profile/ProfileCard.jsx index 8799777..20cdb04 100644 --- a/frontend/src/components/profile/ProfileCard.jsx +++ b/frontend/src/components/profile/ProfileCard.jsx @@ -94,41 +94,43 @@ const ProfileCard = ({ )} )} - {isSelectionMode ? ( - -
+ {isSelectionMode ? ( + - {isSelected && ( - - )} - {willBeSelected && !isSelected && ( -
- )} -
-
- ) : ( - - )} + ? 'Will be selected' + : 'Select' + }> +
+ {isSelected && ( + + )} + {willBeSelected && !isSelected && ( +
+ )} +
+ + ) : ( + + )} +
diff --git a/frontend/src/components/regex/RegexCard.jsx b/frontend/src/components/regex/RegexCard.jsx index ba529f8..52e332e 100644 --- a/frontend/src/components/regex/RegexCard.jsx +++ b/frontend/src/components/regex/RegexCard.jsx @@ -62,38 +62,43 @@ const RegexCard = ({

{pattern.name}

- {isSelectionMode ? ( - -
+ {isSelectionMode ? ( + - {isSelected && ( - - )} - {willBeSelected && !isSelected && ( -
- )} -
-
- ) : ( - - )} + ? 'Will be selected' + : 'Select' + }> +
+ {isSelected && ( + + )} + {willBeSelected && !isSelected && ( +
+ )} +
+ + ) : ( + + )} +
{/* Pattern Display */}