refactor(linter): implement minor hlit suggestion
This commit is contained in:
parent
0af8598d6d
commit
d209a110e8
@ -176,7 +176,7 @@ commR CommunicationRoute{..} = do
|
|||||||
)
|
)
|
||||||
| (pos, recp) <- zip [0..]
|
| (pos, recp) <- zip [0..]
|
||||||
( mcons (Left <$> globalCC)
|
( mcons (Left <$> globalCC)
|
||||||
(Right <$> Set.toList (Set.fromList (map entityKey chosenRecipients) \\ Set.fromList (concatMap (map entityKey) $ view _2 <$> suggestedRecipients)))
|
(Right <$> Set.toList (Set.fromList (map entityKey chosenRecipients) \\ Set.fromList (concatMap (map entityKey . view _2) suggestedRecipients)))
|
||||||
)
|
)
|
||||||
]
|
]
|
||||||
activeCategories = map RecipientGroup (view _1 <$> suggestedRecipients) `snoc` RecipientCustom
|
activeCategories = map RecipientGroup (view _1 <$> suggestedRecipients) `snoc` RecipientCustom
|
||||||
|
|||||||
Reference in New Issue
Block a user