Clear selected contacts when creating a custom story

This commit is contained in:
Alvaro
2022-12-01 11:17:12 -07:00
committed by GitHub
parent 633f5094c3
commit 60b30d04cd
2 changed files with 1 additions and 5 deletions

View File

@@ -420,6 +420,7 @@ export function SendStoryModal({
getPreferredBadge={getPreferredBadge}
i18n={i18n}
onCreateList={(name, uuids) => {
setSelectedContacts([]);
onDistributionListCreated(name, uuids);
setPage(Page.SendStory);
}}

View File

@@ -951,11 +951,6 @@ type EditDistributionListModalPropsType = {
onBackButtonClick: () => void;
} & Pick<PropsType, 'candidateConversations' | 'getPreferredBadge' | 'i18n'>;
/**
*
* @param param0
* @returns
*/
export function EditDistributionListModal({
candidateConversations,
getPreferredBadge,