forked from github/plane
[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:
parent
7a8aef4599
commit
47a7f60611
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user