login.tsx 681 B

1234567891011121314151617181920212223
  1. import { View } from 'react-native';
  2. import MultiStepForm from '../../component/registrationMultiStepForm/multi_step_form';
  3. import { GoTestPageBTN } from '../../component/test/page';
  4. import {
  5. EXPO_PUBLIC_NODE_ENV,
  6. EXPO_PUBLIC_API_URL,
  7. } from '@env';
  8. export default function LoginPage() {
  9. const isDev = () => EXPO_PUBLIC_NODE_ENV == 'development';
  10. console.log('-'.repeat(33));
  11. console.log(EXPO_PUBLIC_NODE_ENV);
  12. console.log(EXPO_PUBLIC_API_URL);
  13. console.log('-'.repeat(33));
  14. return (
  15. <View className={`flex-1 ${isDev() ? 'relative' : ''}`}>
  16. {isDev() && <GoTestPageBTN />}
  17. <MultiStepForm />
  18. </View>
  19. );
  20. }