fix: disable button unless org name is different (#1984)

This commit is contained in:
Yash Joshi 2023-01-04 18:20:02 +05:30 committed by GitHub
parent 835251b342
commit 144076e029
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -79,7 +79,7 @@ function DisplayName({
/>
<Button
onClick={onClickHandler}
disabled={isLoading}
disabled={isLoading || orgName === name}
loading={isLoading}
type="primary"
>