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
@@ -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);