chore: fix tsx

This commit is contained in:
2026-02-21 12:56:40 +01:00
parent e5bbb94218
commit cc71375290
6 changed files with 8 additions and 6 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
name: Frontend Admin - EAS Build
name: Frontend Client - EAS Build
on:
push:
+1
View File
@@ -182,6 +182,7 @@
- name: Show service status
ansible.builtin.debug:
msg: "{{ service_status.stdout_lines }}"
tags: backend
- name: Configuration UFW
ansible.builtin.ufw:
-1
View File
@@ -106,7 +106,6 @@ func SetupRoutes(router *gin.Engine, database *db.Database, geoService *services
// ============================================
adminAuthGroupV2 := router.Group("/api/v2/admin/auth")
{
adminAuthGroupV2.POST("/register", handlers.RegisterAdmin)
adminAuthGroupV2.POST("/login", handlers.LoginAdmin)
adminAuthGroupV2.POST("/logout", handlers.LogoutAdmin)
}
+2 -2
View File
@@ -10,7 +10,7 @@
"splash": {
"image": "./assets/splash-icon.png",
"resizeMode": "contain",
"backgroundColor": "#0a0a0a"
"backgroundColor": "#000"
},
"ios": {
"supportsTablet": true,
@@ -20,7 +20,7 @@
"package": "com.uberstup.adminpanel",
"adaptiveIcon": {
"foregroundImage": "./assets/adaptive-icon.png",
"backgroundColor": "#0a0a0a"
"backgroundColor": "#000"
},
"edgeToEdgeEnabled": true,
"permissions": [
+1 -1
View File
@@ -44,7 +44,7 @@ export default function TextInput({
style={[
styles.input,
{ color: colors.textPrimary },
icon && styles.inputWithIcon,
!!icon && styles.inputWithIcon,
style,
]}
placeholderTextColor={colors.textMuted}
+3 -1
View File
@@ -34,7 +34,9 @@ const RegisterScreen = () => {
password: "",
});
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 [isLoading, setIsLoading] = useState(false);