1
0
mirror of https://github.com/whippyshou/mastodon synced 2024-12-22 10:38:24 +09:00
whippy-edition/app/javascript/mastodon/containers/admin_component.jsx

23 lines
398 B
React
Raw Normal View History

import PropTypes from 'prop-types';
import { PureComponent } from 'react';
import { IntlProvider } from 'mastodon/locales';
2023-05-23 17:52:27 +09:00
export default class AdminComponent extends PureComponent {
static propTypes = {
children: PropTypes.node.isRequired,
};
render () {
const { children } = this.props;
return (
<IntlProvider>
{children}
</IntlProvider>
);
}
}