]> cat aescling's git repositories - mastodon.git/commit
Use withRouter for TabsBar (#6652)
authorAkihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
Tue, 6 Mar 2018 06:28:05 +0000 (15:28 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Tue, 6 Mar 2018 06:28:05 +0000 (07:28 +0100)
commit61e62757816cd8cfe38944d509f8ec13d7d86912
tree9e719002f4796f5a1a99b2d9b4f555337ed77de4
parent78d772af862c536b2e985977b6ba549efe668fe0
Use withRouter for TabsBar (#6652)

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.
app/javascript/mastodon/features/ui/components/tabs_bar.js