chore: fix tsx
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
name: Frontend Admin - EAS Build
|
name: Frontend Client - EAS Build
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
|||||||
@@ -182,6 +182,7 @@
|
|||||||
- name: Show service status
|
- name: Show service status
|
||||||
ansible.builtin.debug:
|
ansible.builtin.debug:
|
||||||
msg: "{{ service_status.stdout_lines }}"
|
msg: "{{ service_status.stdout_lines }}"
|
||||||
|
tags: backend
|
||||||
|
|
||||||
- name: Configuration UFW
|
- name: Configuration UFW
|
||||||
ansible.builtin.ufw:
|
ansible.builtin.ufw:
|
||||||
|
|||||||
@@ -106,7 +106,6 @@ func SetupRoutes(router *gin.Engine, database *db.Database, geoService *services
|
|||||||
// ============================================
|
// ============================================
|
||||||
adminAuthGroupV2 := router.Group("/api/v2/admin/auth")
|
adminAuthGroupV2 := router.Group("/api/v2/admin/auth")
|
||||||
{
|
{
|
||||||
adminAuthGroupV2.POST("/register", handlers.RegisterAdmin)
|
|
||||||
adminAuthGroupV2.POST("/login", handlers.LoginAdmin)
|
adminAuthGroupV2.POST("/login", handlers.LoginAdmin)
|
||||||
adminAuthGroupV2.POST("/logout", handlers.LogoutAdmin)
|
adminAuthGroupV2.POST("/logout", handlers.LogoutAdmin)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
"splash": {
|
"splash": {
|
||||||
"image": "./assets/splash-icon.png",
|
"image": "./assets/splash-icon.png",
|
||||||
"resizeMode": "contain",
|
"resizeMode": "contain",
|
||||||
"backgroundColor": "#0a0a0a"
|
"backgroundColor": "#000"
|
||||||
},
|
},
|
||||||
"ios": {
|
"ios": {
|
||||||
"supportsTablet": true,
|
"supportsTablet": true,
|
||||||
@@ -20,7 +20,7 @@
|
|||||||
"package": "com.uberstup.adminpanel",
|
"package": "com.uberstup.adminpanel",
|
||||||
"adaptiveIcon": {
|
"adaptiveIcon": {
|
||||||
"foregroundImage": "./assets/adaptive-icon.png",
|
"foregroundImage": "./assets/adaptive-icon.png",
|
||||||
"backgroundColor": "#0a0a0a"
|
"backgroundColor": "#000"
|
||||||
},
|
},
|
||||||
"edgeToEdgeEnabled": true,
|
"edgeToEdgeEnabled": true,
|
||||||
"permissions": [
|
"permissions": [
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ export default function TextInput({
|
|||||||
style={[
|
style={[
|
||||||
styles.input,
|
styles.input,
|
||||||
{ color: colors.textPrimary },
|
{ color: colors.textPrimary },
|
||||||
icon && styles.inputWithIcon,
|
!!icon && styles.inputWithIcon,
|
||||||
style,
|
style,
|
||||||
]}
|
]}
|
||||||
placeholderTextColor={colors.textMuted}
|
placeholderTextColor={colors.textMuted}
|
||||||
|
|||||||
@@ -34,7 +34,9 @@ const RegisterScreen = () => {
|
|||||||
password: "",
|
password: "",
|
||||||
});
|
});
|
||||||
const [showPassword, setShowPassword] = useState(false);
|
const [showPassword, setShowPassword] = useState(false);
|
||||||
const [errors, setErrors] = useState<{ [key: string]: string }>({});
|
const [errors, setErrors] = useState<{ [key: string]: string | undefined }>(
|
||||||
|
{},
|
||||||
|
);
|
||||||
const [apiError, setApiError] = useState("");
|
const [apiError, setApiError] = useState("");
|
||||||
const [isLoading, setIsLoading] = useState(false);
|
const [isLoading, setIsLoading] = useState(false);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user