chore: fix tsx
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
name: Frontend Admin - EAS Build
|
||||
name: Frontend Client - EAS Build
|
||||
|
||||
on:
|
||||
push:
|
||||
|
||||
@@ -182,6 +182,7 @@
|
||||
- name: Show service status
|
||||
ansible.builtin.debug:
|
||||
msg: "{{ service_status.stdout_lines }}"
|
||||
tags: backend
|
||||
|
||||
- name: Configuration 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.POST("/register", handlers.RegisterAdmin)
|
||||
adminAuthGroupV2.POST("/login", handlers.LoginAdmin)
|
||||
adminAuthGroupV2.POST("/logout", handlers.LogoutAdmin)
|
||||
}
|
||||
|
||||
@@ -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": [
|
||||
|
||||
@@ -44,7 +44,7 @@ export default function TextInput({
|
||||
style={[
|
||||
styles.input,
|
||||
{ color: colors.textPrimary },
|
||||
icon && styles.inputWithIcon,
|
||||
!!icon && styles.inputWithIcon,
|
||||
style,
|
||||
]}
|
||||
placeholderTextColor={colors.textMuted}
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user