[WEB-667] fix: unable to deselect project lead in create project modal (#3898)

* fix: unable to deselect project lead in create project modal

* removed unneccessary code
This commit is contained in:
Lakhan Baheti 2024-03-07 16:53:43 +05:30 committed by GitHub
parent 7a8aef4599
commit 47a7f60611
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -406,7 +406,7 @@ export const CreateProjectModal: FC<Props> = observer((props) => {
<div className="h-7 flex-shrink-0" tabIndex={5}>
<MemberDropdown
value={value}
onChange={onChange}
onChange={(lead) => onChange(lead === value ? null : lead)}
placeholder="Lead"
multiple={false}
buttonVariant="border-with-text"