Browse Source

ref(crons): Remove unused onUpdate method (#45863)

Doesn't seem to be used by AsyncView/Component or anywhere else.
David Wang 2 years ago
parent
commit
30c95333d0
1 changed files with 0 additions and 3 deletions
  1. 0 3
      static/app/views/monitors/edit.tsx

+ 0 - 3
static/app/views/monitors/edit.tsx

@@ -32,9 +32,6 @@ class EditMonitor extends AsyncView<Props, State> {
     ];
   }
 
-  onUpdate = (data: Monitor) =>
-    this.setState(state => ({monitor: {...state.monitor, ...data}}));
-
   onSubmitSuccess = (data: Monitor) =>
     browserHistory.push(
       normalizeUrl(`/organizations/${this.orgSlug}/crons/${data.slug}/`)