Skip to content

Commit

Permalink
fix: restore acidentally lost context definition
Browse files Browse the repository at this point in the history
  • Loading branch information
vesameskanen committed Mar 21, 2024
1 parent 75dd677 commit df61d4f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/component/FavouriteStopContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,12 @@ FavouriteStopContainerComponent.defaultProps = {
isFetching: false,
};

FavouriteStopContainerComponent.contextTypes = {
getStore: PropTypes.func.isRequired,
executeAction: PropTypes.func.isRequired,
config: configShape.isRequired,
};

const FavouriteStopContainer = connectToStores(
FavouriteStopContainerComponent,
['FavouriteStore', 'UserStore', 'PreferencesStore'],
Expand Down

0 comments on commit df61d4f

Please sign in to comment.