diff options
author | Nolan Lawson <nolan@nolanlawson.com> | 2017-10-05 18:46:15 -0700 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-10-06 03:46:15 +0200 |
commit | 97b3d0cd567ff5b38343796a5e662087bd45d710 (patch) | |
tree | 6e66dcc7de7dc8169b76f555ec89c7379436c5d9 /app/javascript/mastodon/features/compose/components/warning.js | |
parent | fd7f0732fe26554c51218c4f67955e8050590d2c (diff) |
Import only Spring/Motion from react-motion (#5236)
Diffstat (limited to 'app/javascript/mastodon/features/compose/components/warning.js')
-rw-r--r-- | app/javascript/mastodon/features/compose/components/warning.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/compose/components/warning.js b/app/javascript/mastodon/features/compose/components/warning.js index dc902f33b..a0814e984 100644 --- a/app/javascript/mastodon/features/compose/components/warning.js +++ b/app/javascript/mastodon/features/compose/components/warning.js @@ -1,6 +1,7 @@ import React from 'react'; import PropTypes from 'prop-types'; -import { Motion, spring } from 'react-motion'; +import Motion from 'react-motion/lib/Motion'; +import spring from 'react-motion/lib/spring'; export default class Warning extends React.PureComponent { |