about summary refs log tree commit diff
path: root/app/javascript/mastodon/features/ui/components/bundle.js
diff options
context:
space:
mode:
authorAkihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>2018-03-06 15:28:26 +0900
committerEugen Rochko <eugen@zeonfederated.com>2018-03-06 07:28:26 +0100
commit13cf92df271e4459ca9122ec7496fa8208864727 (patch)
tree0edc701baa279d5ba06c98a8932c9f49685046cd /app/javascript/mastodon/features/ui/components/bundle.js
parent61e62757816cd8cfe38944d509f8ec13d7d86912 (diff)
Use React.PureComponent instead of React.Component (#6653)
Diffstat (limited to 'app/javascript/mastodon/features/ui/components/bundle.js')
-rw-r--r--app/javascript/mastodon/features/ui/components/bundle.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/ui/components/bundle.js b/app/javascript/mastodon/features/ui/components/bundle.js
index 06a6c9cdd..e7d935251 100644
--- a/app/javascript/mastodon/features/ui/components/bundle.js
+++ b/app/javascript/mastodon/features/ui/components/bundle.js
@@ -4,7 +4,7 @@ import PropTypes from 'prop-types';
 const emptyComponent = () => null;
 const noop = () => { };
 
-class Bundle extends React.Component {
+class Bundle extends React.PureComponent {
 
   static propTypes = {
     fetchComponent: PropTypes.func.isRequired,