- {/* Show checkbox on hover or when selected, otherwise show MessagesSquare */}
- {isThreadLoading ? (
-
- ) : (
- <>
- {/* MessagesSquare icon - hidden on hover if not selected */}
-
-
- {/* Checkbox - appears on hover or when selected */}
-
toggleThreadSelection(thread.threadId, e)}
- >
-
- {isSelected && }
-
-
- >
- )}
-
-