blob: e3fe77068c6dc775c152f7f3450869f777a728bd (
plain)
1
2
3
4
5
6
7
8
9
10
|
import Rules from '~/components/Rules';
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)(Rules);
|