fixed issue causing apple to not load time tickets
This commit is contained in:
@@ -45,7 +45,9 @@ export function EmployeeSignIn({
|
||||
initialValues={{ employeeId: "", pin: "" }}
|
||||
onSubmit={formSubmit}
|
||||
>
|
||||
{({ handleChange, handleBlur, handleSubmit, values }) => (
|
||||
{({ handleChange, handleBlur, handleSubmit, values }) => {
|
||||
const signingErrorMsg = signingError ? (<ErrorDisplay errorMessage={signingError} />) : null;
|
||||
return(
|
||||
<View>
|
||||
<TextInput
|
||||
label={t("employeesignin.fields.employeeid")}
|
||||
@@ -66,7 +68,7 @@ export function EmployeeSignIn({
|
||||
value={values.pin}
|
||||
style={[localStyles.input]}
|
||||
/>
|
||||
{signingError && <ErrorDisplay errorMessage={signingError} />}
|
||||
{signingErrorMsg}
|
||||
<Button
|
||||
mode="outlined"
|
||||
loading={signingIn}
|
||||
@@ -75,7 +77,8 @@ export function EmployeeSignIn({
|
||||
<Text>{t("employeesignin.actions.employeesignin")}</Text>
|
||||
</Button>
|
||||
</View>
|
||||
)}
|
||||
)
|
||||
}}
|
||||
</Formik>
|
||||
</View>
|
||||
</View>
|
||||
|
||||
Reference in New Issue
Block a user