1
0
mirror of https://github.com/funamitech/mastodon synced 2024-12-15 15:18:30 +09:00
YuruToot/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>
);
}
}