blob: 3ca27303d9ff67bf2ca4dd2ace071e2b65853751 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
import Home from '~/components/Home';
import { connect } from '~/components/StateProvider';
import { getClashAPIConfig, getSelectedChartStyleIndex } from '~/store/app';
import { State } from '~/store/types';
const mapState = (state: State) => ({
apiConfig: getClashAPIConfig(state),
selectedChartStyleIndex: getSelectedChartStyleIndex(state),
});
export default connect(mapState)(Home);
|