mirror of
https://github.com/alice-lg/alice-lg.git
synced 2024-05-11 05:55:03 +00:00
18 lines
300 B
JavaScript
18 lines
300 B
JavaScript
import React from 'react'
|
|
import { connect } from 'react-redux'
|
|
|
|
import { loadConfig } from 'components/config/actions'
|
|
|
|
|
|
class Config extends React.Component {
|
|
componentDidMount() {
|
|
this.props.dispatch(loadConfig());
|
|
}
|
|
|
|
render() {
|
|
return null;
|
|
}
|
|
}
|
|
|
|
export default connect()(Config);
|