mirror of
https://github.com/mudabbir-ahmad/Project-MAD-crudler.git
synced 2026-10-08 04:40:20 +00:00
Reformated code to match prettier formating
This commit is contained in:
1 parent
8929043086
commit
3035ddd5b1
8 files changed
+42
-41
No files matched your search
@@ -1,7 +1,7 @@
|
||||
import { StyleSheet, Text, View, Pressable } from "react-native";
|
||||
import {StyleSheet, Text, View, Pressable} from "react-native";
|
||||
import useLoad from "../../API/useLoad";
|
||||
|
||||
const UserItem = ({ user, onSelect }) => {
|
||||
const UserItem = ({user, onSelect}) => {
|
||||
// Initialisation -------------
|
||||
|
||||
const usertypesEndpoint = 'https://softwarehub.uk/unibase/api/usertypes';
|
||||
@@ -17,6 +17,7 @@ const UserItem = ({ user, onSelect }) => {
|
||||
// State ----------------------
|
||||
// Handlers -------------------
|
||||
// View -----------------------
|
||||
|
||||
return (
|
||||
<Pressable key={user.UserID} onPress={() => onSelect(user)}>
|
||||
<View style={styles.userItem}>
|
||||
|
||||
Reference in new issue
Block a user