fixing bug with selecting for one on one and closing dialog

This commit is contained in:
talksik
2022-06-11 13:24:49 -05:00
parent 6e8fde89a9
commit f2f930fbf1
2 changed files with 4 additions and 3 deletions
@@ -99,9 +99,10 @@ export default function NewConversationDialog() {
// clear form for next time
if (succeeded) {
toast('succeeded');
setSelectedUsers([]);
setConversationName('');
handleSetPage('SELECTED_CONVERSATION');
handleSetPage('SELECTED_CONVERSATION')();
}
setIsSubmitting(false);