Adding indication for each value in Ressource tab
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { Chantier } from '@/class/class';
|
||||
import { ThemedView } from '@/components/theme/themed-view';
|
||||
import React, { use, useState } from 'react';
|
||||
import React, { use, useEffect, useState } from 'react';
|
||||
import { TouchableOpacity, StyleProp, StyleSheet, View, Image, ViewStyle,Text, TextInput } from 'react-native';
|
||||
import { ThemedText } from './theme/themed-text';
|
||||
import { deleteAnomalie, addAnomalie, getChantiers } from '@/services/ressourcesService';
|
||||
@@ -33,6 +33,12 @@ export default function Anomaly({data,style}: Props) {
|
||||
await syncChantier();
|
||||
};
|
||||
|
||||
//DEBUG
|
||||
useEffect(() => {
|
||||
console.log("imageUri changed", imageUri);
|
||||
}, [imageUri]);
|
||||
|
||||
|
||||
// Image picker function (not used currently)
|
||||
const selectImage = async () => {
|
||||
let result = await ImagePicker.launchImageLibraryAsync({
|
||||
|
||||
Reference in New Issue
Block a user