summaryrefslogtreecommitdiff
path: root/src/pages/ConnectionsPage.tsx
blob: cb2fc55026b05891019a27074283e8e1f703d461 (plain)
1
2
3
4
5
6
7
8
9
10
import Connections from '~/components/Connections';
import { connect } from '~/components/StateProvider';
import { getClashAPIConfig } from '~/store/app';
import { State } from '~/store/types';

const mapState = (state: State) => ({
  apiConfig: getClashAPIConfig(state),
});

export default connect(mapState)(Connections);