Skip to content

Commit

Permalink
feat(GlobalStatus): deprecate AddStatus & Set (#1891)
Browse files Browse the repository at this point in the history
  • Loading branch information
langz authored and tujoworker committed Feb 23, 2023
1 parent 4c804da commit 09fb3d9
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -812,8 +812,6 @@ export default class GlobalStatus extends React.PureComponent {

// Extend our component with controllers
GlobalStatus.create = (...args) => new GlobalStatusInterceptor(...args)
GlobalStatus.Set = GlobalStatus.create // Deprecated
GlobalStatus.AddStatus = GlobalStatus.create // Deprecated
GlobalStatus.Update = GlobalStatus.create
GlobalStatus.Add = GlobalStatusController
GlobalStatus.Remove = GlobalStatusController.Remove
Expand Down

0 comments on commit 09fb3d9

Please sign in to comment.