feat: update
This commit is contained in:
10
src/hooks/use-city-operators.tsx
Normal file
10
src/hooks/use-city-operators.tsx
Normal file
@ -0,0 +1,10 @@
|
||||
import { useSelector } from 'react-redux';
|
||||
|
||||
import { selectCityOperators } from '@/store/selector';
|
||||
|
||||
function useCityOperators() {
|
||||
const data = useSelector(selectCityOperators);
|
||||
return data || [];
|
||||
}
|
||||
|
||||
export default useCityOperators;
|
||||
@ -100,6 +100,7 @@ export const APP_CONFIG: AppConfigType = {
|
||||
PageUrl.GroupDelegatePublish,
|
||||
PageUrl.GiveVip,
|
||||
PageUrl.GroupOwnerCertificate,
|
||||
PageUrl.PartnerShareVip,
|
||||
// PageUrl.DevDebug,
|
||||
],
|
||||
window: {
|
||||
|
||||
@ -1,10 +0,0 @@
|
||||
import { useSelector } from 'react-redux';
|
||||
|
||||
import { selectServiceUrls } from '@/store/selector';
|
||||
|
||||
function useServiceUrls() {
|
||||
const data = useSelector(selectServiceUrls);
|
||||
return data || [];
|
||||
}
|
||||
|
||||
export default useServiceUrls;
|
||||
Reference in New Issue
Block a user