fix: modules sidebar lead select not working (#429)

This commit is contained in:
Aaryan Khandelwal 2023-03-14 12:16:26 +05:30 committed by GitHub
parent d5d64e09d4
commit d6d51c2f43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -359,7 +359,7 @@ export const ModuleDetailsSidebar: React.FC<Props> = ({
<SidebarLeadSelect <SidebarLeadSelect
value={value} value={value}
onChange={(val: string) => { onChange={(val: string) => {
submitChanges({ lead: value }); submitChanges({ lead: val });
}} }}
/> />
)} )}