diff options
author | Thibaut Girka <thib@sitedethib.com> | 2018-05-17 16:53:58 +0200 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2018-05-17 18:37:00 +0200 |
commit | 94db024e4c42027e8c03bf0ecd2aec26ee73a56c (patch) | |
tree | 1b4d6b6ed70d4a2415512d556a22650f57666825 /app/javascript/flavours/glitch/containers/video_container.js | |
parent | dd1d98f9cf405104ef106ee5f376bd09815dac42 (diff) |
[Glitch] Combine similar components into one on public UI
Port f9afd06221baf7f635b346dfbe350652ba6ffbd0 to glitch-soc
Diffstat (limited to 'app/javascript/flavours/glitch/containers/video_container.js')
-rw-r--r-- | app/javascript/flavours/glitch/containers/video_container.js | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/app/javascript/flavours/glitch/containers/video_container.js b/app/javascript/flavours/glitch/containers/video_container.js deleted file mode 100644 index b206e9a10..000000000 --- a/app/javascript/flavours/glitch/containers/video_container.js +++ /dev/null @@ -1,26 +0,0 @@ -import React from 'react'; -import PropTypes from 'prop-types'; -import { IntlProvider, addLocaleData } from 'react-intl'; -import { getLocale } from 'mastodon/locales'; -import Video from 'flavours/glitch/features/video'; - -const { localeData, messages } = getLocale(); -addLocaleData(localeData); - -export default class VideoContainer extends React.PureComponent { - - static propTypes = { - locale: PropTypes.string.isRequired, - }; - - render () { - const { locale, ...props } = this.props; - - return ( - <IntlProvider locale={locale} messages={messages}> - <Video {...props} /> - </IntlProvider> - ); - } - -} |