managment screen upadte
This commit is contained in:
@@ -136,7 +136,13 @@ const UserProfileStatus: React.FC = () => {
|
||||
|
||||
<TouchableOpacity
|
||||
style={[styles.button, { backgroundColor: "#ccc", marginTop: 8 }]}
|
||||
onPress={() => setShowModal(false)}
|
||||
onPress={() => { if (intervalId) {
|
||||
clearInterval(intervalId);
|
||||
setIntervalId(null);
|
||||
}
|
||||
|
||||
setShowModal(false);
|
||||
}}
|
||||
>
|
||||
<Text style={[styles.buttonText, { color: "#333" }]}>Close</Text>
|
||||
</TouchableOpacity>
|
||||
|
||||
Reference in New Issue
Block a user