img chantier
This commit is contained in:
@@ -1,15 +1,14 @@
|
||||
import SelectChantier from '@/components/selectChantier';
|
||||
import { ThemedText } from '@/components/themed-text';
|
||||
import { ThemedTextInput } from '@/components/themed-textinpute';
|
||||
import { ThemedTextInput } from '@/components/themed-textinput';
|
||||
import { ThemedView } from '@/components/themed-view';
|
||||
import Constants from 'expo-constants'; //pour connaître la taille de la barre menu de l'OS en haut
|
||||
import { useLocalSearchParams, useRouter } from 'expo-router';
|
||||
import React, { useMemo, useState } from 'react';
|
||||
import { Button, FlatList, Image, StyleSheet, Text } from 'react-native';
|
||||
import rawConcerts from '../../data/concerts.json';
|
||||
import Constants from 'expo-constants' //pour connaître la taille de la barre menu de l'OS en haut
|
||||
|
||||
import Example from '@/components/example';
|
||||
import { useChantier } from '../Context';
|
||||
import { useChantier } from '../ContextChantier';
|
||||
|
||||
|
||||
type Concert = {
|
||||
|
||||
@@ -1,20 +1,19 @@
|
||||
import { useColorScheme } from "@/hooks/use-color-scheme";
|
||||
import {
|
||||
DarkTheme,
|
||||
DefaultTheme,
|
||||
ThemeProvider,
|
||||
} from "@react-navigation/native";
|
||||
import { Stack } from "expo-router";
|
||||
import { Stack, useRouter } from "expo-router";
|
||||
import { StatusBar } from "expo-status-bar";
|
||||
import "react-native-reanimated";
|
||||
import { useEffect, useState } from "react";
|
||||
import { onAuthStateChanged, User } from "firebase/auth";
|
||||
import { auth, db } from "../firebase_config";
|
||||
import { useRouter } from "expo-router";
|
||||
import { useColorScheme } from "@/hooks/use-color-scheme";
|
||||
import { doc, getDoc } from "firebase/firestore";
|
||||
import { useEffect, useState } from "react";
|
||||
import "react-native-reanimated";
|
||||
import { auth, db } from "../firebase_config";
|
||||
|
||||
import { UIManager, Platform } from 'react-native';
|
||||
import { ChantierProvider } from "./Context";
|
||||
import { Platform, UIManager } from 'react-native';
|
||||
import { ChantierProvider } from "./ContextChantier";
|
||||
|
||||
|
||||
export const unstable_settings = {
|
||||
|
||||
@@ -1,15 +1,13 @@
|
||||
import React, { useState } from "react";
|
||||
import { View, Text, TextInput, Button, StyleSheet } from "react-native";
|
||||
import {
|
||||
signInWithEmailAndPassword,
|
||||
createUserWithEmailAndPassword,
|
||||
} from "firebase/auth";
|
||||
import { doc, setDoc } from "firebase/firestore";
|
||||
import { auth, db } from "../../firebase_config";
|
||||
import { router } from "expo-router";
|
||||
import { ThemedTextInput } from "@/components/themed-textinpute";
|
||||
import { ThemedText } from "@/components/themed-text";
|
||||
import { ThemedTextInput } from "@/components/themed-textinput";
|
||||
import { ThemedView } from "@/components/themed-view";
|
||||
import { router } from "expo-router";
|
||||
import {
|
||||
signInWithEmailAndPassword
|
||||
} from "firebase/auth";
|
||||
import React, { useState } from "react";
|
||||
import { Button, StyleSheet, View } from "react-native";
|
||||
import { auth } from "../../firebase_config";
|
||||
|
||||
const DEFAULT_ROLE = "resp";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user