From 6c89e642b45d85be6cf7b5732f5050193ab49e37 Mon Sep 17 00:00:00 2001 From: mashazyu Date: Mon, 30 Mar 2020 09:33:03 +0200 Subject: [PATCH] Updates variable name to improve code readibility --- components/settings/password/update.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/components/settings/password/update.js b/components/settings/password/update.js index 001441b..da3c5d4 100644 --- a/components/settings/password/update.js +++ b/components/settings/password/update.js @@ -61,7 +61,7 @@ export default class ChangePassword extends Component { currentPassword } = this.state const labels = settings.passwordSettings - const isDisabled = currentPassword !== null + const isPasswordSet = currentPassword !== null if (enteringCurrentPassword) { return ( @@ -77,7 +77,11 @@ export default class ChangePassword extends Component { } return ( - )