chore: fix tsx
This commit is contained in:
@@ -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