Commit a98562a5 by Giang Tran

fix alert

parent 519ffcc2
...@@ -30,7 +30,7 @@ import PickerItem from '../../../components/Picker/PickerItem'; ...@@ -30,7 +30,7 @@ import PickerItem from '../../../components/Picker/PickerItem';
import {saveUserToRedux} from '../../../actions/users'; import {saveUserToRedux} from '../../../actions/users';
import I18n from '../../../helper/i18/i18n'; import I18n from '../../../helper/i18/i18n';
import {uploadImage} from '../../../apis/Functions/Upload'; import {uploadImage} from '../../../apis/Functions/Upload';
import {TYPE} from '../../../components/DropdownAlert'; import {TYPE, showAlert} from '../../../components/DropdownAlert';
const {width} = Dimensions.get('window'); const {width} = Dimensions.get('window');
......
...@@ -7,7 +7,7 @@ import {useNavigation} from '@react-navigation/native'; ...@@ -7,7 +7,7 @@ import {useNavigation} from '@react-navigation/native';
import AppText from '../../../../components/AppText'; import AppText from '../../../../components/AppText';
import I18n from '../../../../helper/i18/i18n'; import I18n from '../../../../helper/i18/i18n';
import {TYPE} from '../../../../components/DropdownAlert'; import {TYPE, showAlert} from '../../../../components/DropdownAlert';
const Watting = (props) => { const Watting = (props) => {
const [page, setPage] = useState(1); const [page, setPage] = useState(1);
......
...@@ -17,7 +17,7 @@ import {CONFIRMOTP} from '../../routers/ScreenNames'; ...@@ -17,7 +17,7 @@ import {CONFIRMOTP} from '../../routers/ScreenNames';
import {getOTPApi} from '../../apis/Functions/users'; import {getOTPApi} from '../../apis/Functions/users';
import {showLoading, hideLoading} from '../../actions/loadingAction'; import {showLoading, hideLoading} from '../../actions/loadingAction';
import I18n from '../../helper/i18/i18n'; import I18n from '../../helper/i18/i18n';
import {TYPE} from '../../components/DropdownAlert'; import {TYPE, showAlert} from '../../components/DropdownAlert';
const ConfirmEmail = (props) => { const ConfirmEmail = (props) => {
const [value, setValue] = useState(''); const [value, setValue] = useState('');
......
...@@ -30,7 +30,7 @@ import {showLoading, hideLoading} from '../../actions/loadingAction'; ...@@ -30,7 +30,7 @@ import {showLoading, hideLoading} from '../../actions/loadingAction';
import {useNavigation} from '@react-navigation/native'; import {useNavigation} from '@react-navigation/native';
import BankInfor from '../../components/BankInfor'; import BankInfor from '../../components/BankInfor';
import AppText from '../../components/AppText'; import AppText from '../../components/AppText';
import {TYPE} from '../../components/DropdownAlert'; import {TYPE, showAlert} from '../../components/DropdownAlert';
const {width} = Dimensions.get('window'); const {width} = Dimensions.get('window');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment