|
@@ -7,19 +7,21 @@ import { useNavigation } from '@react-navigation/native';
|
|
import { useQueryClient } from '@tanstack/react-query';
|
|
import { useQueryClient } from '@tanstack/react-query';
|
|
import { Image } from 'expo-image';
|
|
import { Image } from 'expo-image';
|
|
|
|
|
|
|
|
+import {
|
|
|
|
+ usePostGetProfileQuery,
|
|
|
|
+ usePostSetProfileMutation,
|
|
|
|
+ userQueryKeys,
|
|
|
|
+ type PostSetProfileData
|
|
|
|
+} from '@api/user';
|
|
|
|
+
|
|
|
|
+import { useGetRegionsWithFlagQuery } from '@api/regions';
|
|
|
|
+
|
|
import { API_HOST } from '../../../../constants';
|
|
import { API_HOST } from '../../../../constants';
|
|
|
|
|
|
import { AvatarPicker, BigText, Header, Input, PageWrapper, Button } from '../../../../components';
|
|
import { AvatarPicker, BigText, Header, Input, PageWrapper, Button } from '../../../../components';
|
|
import { InputDatePicker } from '../../../../components/Calendar/InputDatePicker';
|
|
import { InputDatePicker } from '../../../../components/Calendar/InputDatePicker';
|
|
import { ModalFlatList } from '../../../../components/FlatList/modal-flatlist';
|
|
import { ModalFlatList } from '../../../../components/FlatList/modal-flatlist';
|
|
|
|
|
|
-import { usePostGetProfileQuery } from '../../../../modules/auth/user/queries/use-post-get-profile';
|
|
|
|
-import { useGetRegionsWithFlagQuery } from '../../../../modules/auth/regions/queries/use-post-get-regions';
|
|
|
|
-import { usePostSetProfileMutation } from '../../../../modules/auth/user/queries/use-post-set-profile';
|
|
|
|
-import { userQueryKeys } from '../../../../modules/auth/user/user-query-keys';
|
|
|
|
-
|
|
|
|
-import type { PostSetProfileData } from '../../../../modules/auth/user/user-api';
|
|
|
|
-
|
|
|
|
import { storage, StoreType } from '../../../../storage';
|
|
import { storage, StoreType } from '../../../../storage';
|
|
import { Colors } from '../../../../theme';
|
|
import { Colors } from '../../../../theme';
|
|
|
|
|