about summary refs log tree commit diff
path: root/app/javascript/mastodon/features/compose/components/warning.js
diff options
context:
space:
mode:
authorNolan Lawson <nolan@nolanlawson.com>2017-10-16 00:36:15 -0700
committerEugen Rochko <eugen@zeonfederated.com>2017-10-16 09:36:15 +0200
commitfa0be3f834b54bb276eb5233195181fa3760710f (patch)
treec1367d2304a220262d440034e1927097ed1678da /app/javascript/mastodon/features/compose/components/warning.js
parent981e20b03a67ecc01826ef32c5fc9fd28ed2917b (diff)
Add option to reduce motion (#5393)
* Add option to reduce motion

* Use HOC to wrap all Motion calls

* fix case-sensitive issue

* Avoid updating too frequently

* Get rid of unnecessary change to _simple_status.html.haml
Diffstat (limited to 'app/javascript/mastodon/features/compose/components/warning.js')
-rw-r--r--app/javascript/mastodon/features/compose/components/warning.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/compose/components/warning.js b/app/javascript/mastodon/features/compose/components/warning.js
index a0814e984..803b7f86a 100644
--- a/app/javascript/mastodon/features/compose/components/warning.js
+++ b/app/javascript/mastodon/features/compose/components/warning.js
@@ -1,6 +1,6 @@
 import React from 'react';
 import PropTypes from 'prop-types';
-import Motion from 'react-motion/lib/Motion';
+import Motion from '../../ui/util/optional_motion';
 import spring from 'react-motion/lib/spring';
 
 export default class Warning extends React.PureComponent {