Skip to content

Commit 78ac7d0

Browse files
committed
More clearly signal cancel-in-progress on the sub cancel button
1 parent 729dc7d commit 78ac7d0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/components/settings/settings-page.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,12 @@ class SettingsPage extends React.Component<SettingsPageProps> {
237237
}
238238
<SettingsButton
239239
onClick={this.confirmSubscriptionCancellation}
240+
disabled={isAccountUpdateInProcess}
240241
>
241242
Cancel subscription
243+
{ isAccountUpdateInProcess &&
244+
<AccountUpdateSpinner />
245+
}
242246
</SettingsButton>
243247
</> }
244248
<SettingsButton onClick={logOut}>Log out</SettingsButton>

0 commit comments

Comments
 (0)