mirror of
https://github.com/mastodon/mastodon.git
synced 2026-11-06 21:13:54 -06:00
TabsBar refers to router, which is a private context property of react-router. withRouter is a recommended alternative. It also allows to track location changes even if React.PureComponent is used.