notification
This commit is contained in:
@@ -56,7 +56,7 @@ const MemberScreen = ({ route }) => {
|
||||
setLoading(true);
|
||||
try {
|
||||
const response = await apiCall<ApiResponse>(
|
||||
`https://api.godemo.in/FundCollect/api/fund/group/all/member?groupId=${groupId}`,
|
||||
`http://192.168.1.5:9060/api/fund/group/all/member?groupId=${groupId}`,
|
||||
'GET'
|
||||
);
|
||||
|
||||
@@ -118,12 +118,7 @@ const MemberScreen = ({ route }) => {
|
||||
if (error) {
|
||||
return (
|
||||
<View style={styles.centered}>
|
||||
<Ionicons name="cloud-offline-outline" size={60} color="#EF4444" />
|
||||
<Text style={styles.errorTitle}>Oops!</Text>
|
||||
<Text style={styles.errorText}>{error}</Text>
|
||||
<TouchableOpacity style={styles.retryButton} onPress={fetchMembers}>
|
||||
<Text style={styles.retryButtonText}>Try Again</Text>
|
||||
</TouchableOpacity>
|
||||
<Text style={styles.errorText}>no members found</Text>
|
||||
</View>
|
||||
);
|
||||
}
|
||||
@@ -170,9 +165,7 @@ const styles = StyleSheet.create({
|
||||
paddingHorizontal: 20,
|
||||
paddingTop: 20,
|
||||
paddingBottom: 12,
|
||||
backgroundColor: 'white',
|
||||
borderBottomWidth: 1,
|
||||
borderBottomColor: '#E5E7EB',
|
||||
|
||||
},
|
||||
headerTitle: {
|
||||
fontSize: 28,
|
||||
|
||||
Reference in New Issue
Block a user