Skip to content

Commit 308631f

Browse files
fix: show alert
1 parent 7240df7 commit 308631f

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/components/app.jsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -329,18 +329,13 @@ export default class App extends Component {
329329
}
330330

331331
onSubscriptionChange() {
332-
alertRefreshPage();
333-
loadUserSubscription();
332+
alert('Please refresh the page later to display subscriptions.');
334333
}
335334

336335
loadUserSubscription() {
337336
loadSubscriptionToApp(this).then(() => this.refreshEditor());
338337
}
339338

340-
alertRefreshPage() {
341-
alert('Please refresh the page later to display subscriptions.');
342-
}
343-
344339
updateProfileUi() {
345340
if (this.state.user) {
346341
document.body.classList.add('is-logged-in');

0 commit comments

Comments
 (0)