Skip to content

Commit 5b19aa0

Browse files
committed
Fixed use state prop
1 parent 941fda0 commit 5b19aa0

File tree

1 file changed

+2
-1
lines changed
  • src/shared/components/Settings/Profile/BasicInfo

1 file changed

+2
-1
lines changed

src/shared/components/Settings/Profile/BasicInfo/index.jsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -463,6 +463,7 @@ export default class BasicInfo extends ConsentComponent {
463463
newBasicInfo,
464464
formInvalid,
465465
errorMessage,
466+
isSaving
466467
} = this.state;
467468

468469
return (
@@ -916,7 +917,7 @@ export default class BasicInfo extends ConsentComponent {
916917
<div styleName="button-save">
917918
<PrimaryButton
918919
styleName="white-label"
919-
disabled={this.isSaving}
920+
disabled={isSaving}
920921
onClick={this.onHandleSaveBasicInfo}
921922
>
922923
{

0 commit comments

Comments
 (0)