Skip to content

Commit

Permalink
chore: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
joseph-mccombs committed Dec 15, 2020
1 parent 959b536 commit 8f35e3e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 13 deletions.
10 changes: 6 additions & 4 deletions components/FindResidents/Resident/ResidentPage/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,13 @@ const ResidentPage = ({
<View style={styles.navigationButtonsContainer}>
<Button style={styles.navigationButton} labelStyle={styles.navigationButtonText} onPress={() => showDemographics()}>{I18n.t('findResident.residentPage.household.demographics')}</Button>
<Button style={styles.navigationButton} labelStyle={styles.navigationButtonText} onPress={() => showForms(true)}>{I18n.t('findResident.residentPage.household.forms')}</Button>
<Button style={styles.navigationButton}
labelStyle={styles.navigationButtonText}
onPress={() => showHousehold(true)}>
<Button
style={styles.navigationButton}
labelStyle={styles.navigationButtonText}
onPress={() => showHousehold(true)}
>
{I18n.t('findResident.residentPage.household.household')}
</Button>
</Button>
</View>
<View
style={styles.horizontalLine}
Expand Down
18 changes: 9 additions & 9 deletions domains/DataCollection/Forms/IdentificationForm/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
import { Formik } from 'formik';

import { postIdentificationForm } from '../../../../modules/cached-resources';

import { isEmpty } from '../../../../modules/utils';
import { layout } from '../../../../modules/theme';
import I18n from '../../../../modules/i18n';

Expand Down Expand Up @@ -108,14 +108,14 @@ const IdentificationForm = ({
{formikProps.isSubmitting ? (
<ActivityIndicator />
) : (
<PaperButton
onPressEvent={formikProps.handleSubmit}
buttonText={I18n.t('global.submit')}
/>
// <Button icon="human" onPress={formikProps.handleSubmit}>
// <Text>Submit</Text>
// </Button>
)}
<PaperButton
onPressEvent={formikProps.handleSubmit}
buttonText={I18n.t('global.submit')}
/>
// <Button icon="human" onPress={formikProps.handleSubmit}>
// <Text>Submit</Text>
// </Button>
)}
</View>
)}
</Formik>
Expand Down

0 comments on commit 8f35e3e

Please sign in to comment.