You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
398 B
22 lines
398 B
import PropTypes from 'prop-types'; |
|
import { PureComponent } from 'react'; |
|
|
|
import { IntlProvider } from 'mastodon/locales'; |
|
|
|
export default class AdminComponent extends PureComponent { |
|
|
|
static propTypes = { |
|
children: PropTypes.node.isRequired, |
|
}; |
|
|
|
render () { |
|
const { children } = this.props; |
|
|
|
return ( |
|
<IntlProvider> |
|
{children} |
|
</IntlProvider> |
|
); |
|
} |
|
|
|
}
|
|
|