Browse Source

style(js): Fix comment for teamStore replace (#28556)

Evan Purkhiser 3 years ago
parent
commit
419d928b67
1 changed files with 1 additions and 1 deletions
  1. 1 1
      static/app/stores/teamStore.tsx

+ 1 - 1
static/app/stores/teamStore.tsx

@@ -76,7 +76,7 @@ const teamStoreConfig: Reflux.StoreDefinition & TeamStoreInterface = {
     // Note: This is the proper way to handle slug changes but unfortunately not all of our
     // components use stores correctly. To be safe reload browser :((
     if (response.slug !== itemId) {
-      // Remove old team
+      // Replace the team
       const teams = [...this.state.teams.filter(({slug}) => slug !== itemId), response];
 
       this.state = {...this.state, teams};