1
0
mirror of https://github.com/funamitech/mastodon synced 2024-12-12 13:48:35 +09:00
YuruToot/app/javascript/flavours/glitch/containers/admin_component.jsx

23 lines
405 B
React
Raw Normal View History

import PropTypes from 'prop-types';
import { PureComponent } from 'react';
import { IntlProvider } from 'flavours/glitch/locales';
export default class AdminComponent extends PureComponent {
static propTypes = {
children: PropTypes.node.isRequired,
};
render () {
const { children } = this.props;
return (
<IntlProvider>
{children}
</IntlProvider>
);
}
}