From cc71375290b29e25919f20d08d5af15184142098 Mon Sep 17 00:00:00 2001 From: Xor290 Date: Sat, 21 Feb 2026 12:56:40 +0100 Subject: [PATCH] chore: fix tsx --- .github/workflows/frontend-client-build.yml | 2 +- ansible/playbook-backend.yml | 1 + backend/gestion/routes/routes.go | 1 - frontend-admin/app.json | 4 ++-- mobile/src/components/ui/TextInput.tsx | 2 +- mobile/src/screens/auth/RegisterScreen.tsx | 4 +++- 6 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/frontend-client-build.yml b/.github/workflows/frontend-client-build.yml index cd18668b..f8a2df9c 100644 --- a/.github/workflows/frontend-client-build.yml +++ b/.github/workflows/frontend-client-build.yml @@ -1,4 +1,4 @@ -name: Frontend Admin - EAS Build +name: Frontend Client - EAS Build on: push: diff --git a/ansible/playbook-backend.yml b/ansible/playbook-backend.yml index 44844f6a..50dd5911 100644 --- a/ansible/playbook-backend.yml +++ b/ansible/playbook-backend.yml @@ -182,6 +182,7 @@ - name: Show service status ansible.builtin.debug: msg: "{{ service_status.stdout_lines }}" + tags: backend - name: Configuration UFW ansible.builtin.ufw: diff --git a/backend/gestion/routes/routes.go b/backend/gestion/routes/routes.go index a46a3cbf..8fb9f944 100644 --- a/backend/gestion/routes/routes.go +++ b/backend/gestion/routes/routes.go @@ -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) } diff --git a/frontend-admin/app.json b/frontend-admin/app.json index fc677764..0740dfbe 100644 --- a/frontend-admin/app.json +++ b/frontend-admin/app.json @@ -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": [ diff --git a/mobile/src/components/ui/TextInput.tsx b/mobile/src/components/ui/TextInput.tsx index f03e9d8f..a8031dcc 100644 --- a/mobile/src/components/ui/TextInput.tsx +++ b/mobile/src/components/ui/TextInput.tsx @@ -44,7 +44,7 @@ export default function TextInput({ style={[ styles.input, { color: colors.textPrimary }, - icon && styles.inputWithIcon, + !!icon && styles.inputWithIcon, style, ]} placeholderTextColor={colors.textMuted} diff --git a/mobile/src/screens/auth/RegisterScreen.tsx b/mobile/src/screens/auth/RegisterScreen.tsx index 4a8749b3..71793783 100644 --- a/mobile/src/screens/auth/RegisterScreen.tsx +++ b/mobile/src/screens/auth/RegisterScreen.tsx @@ -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);