We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a5f354 commit a121091Copy full SHA for a121091
ts/components/dialog/InviteContactsDialog.tsx
@@ -25,6 +25,7 @@ import { SessionSearchInput } from '../SessionSearchInput';
25
import { NoResultsForSearch } from '../search/NoResults';
26
import { SessionWrapperModal2 } from '../SessionWrapperModal2';
27
import { useHotkey } from '../../hooks/useHotkey';
28
+import { searchActions } from '../../state/ducks/search';
29
30
type Props = {
31
conversationId: string;
@@ -123,6 +124,7 @@ const InviteContactsDialogInner = (props: Props) => {
123
124
125
const closeDialog = () => {
126
dispatch(updateInviteContactModal(null));
127
+ dispatch(searchActions.clearSearch());
128
};
129
130
const onClickOK = () => {
0 commit comments