upd: division

Deskripsi:
- load data all division
- search data all division
- filter data division
- user role pada halaman  division

No Issues
This commit is contained in:
amel
2025-05-20 17:31:58 +08:00
parent 9859a8534f
commit 856c054deb
6 changed files with 244 additions and 103 deletions

View File

@@ -6,7 +6,7 @@ import Styles from "@/constants/Styles";
import { apiGetProfile } from "@/lib/api";
import { setEntities } from "@/lib/entitiesSlice";
import { useAuthSession } from "@/providers/AuthProvider";
import { Octicons } from "@expo/vector-icons";
import { AntDesign, Octicons } from "@expo/vector-icons";
import { router, Stack } from "expo-router";
import { useEffect, useState } from "react";
import { Image, SafeAreaView, ScrollView, Text, View } from "react-native";
@@ -40,7 +40,7 @@ export default function Profile() {
headerTitleAlign: 'center',
headerShadowVisible: false,
headerRight: () => <ButtonHeader
item={<Octicons name="sign-out" size={20} color="white" />}
item={<AntDesign name="logout" size={20} color="white" />}
onPress={() => {
AlertKonfirmasi({
title: 'Keluar',