resync
This commit is contained in:
@@ -75,9 +75,11 @@ export default function GestionnaireRessource() {
|
||||
lvl={1}
|
||||
shadow={true}
|
||||
style={{ padding: 10, borderRadius: 8, marginBottom: 10 }}
|
||||
onPress={() => {
|
||||
onPress={async () => {
|
||||
setFilterType(t);
|
||||
setShowFilterMenu(false);
|
||||
const updatedChantiers = await getRessources();
|
||||
setRessources(updatedChantiers)
|
||||
}}
|
||||
>
|
||||
<ThemedText style={{ textAlign: "center" }}>{t}</ThemedText>
|
||||
|
||||
Reference in New Issue
Block a user