Skip to content

Commit

Permalink
fga-eps-mds#166 - MINOR: Fixing eslint issues discovered by CI
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusoliveira30 committed Apr 12, 2018
1 parent c7ed599 commit 54fd914
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
16 changes: 8 additions & 8 deletions src/screens/SchedulingVisit.js
Original file line number Diff line number Diff line change
Expand Up @@ -553,14 +553,14 @@ export default class SchedulingVisit extends React.Component {
<View>
{this.props.school.schoolSelected &&
this.state.visit.date !== '' && this.state.visit.time !== '' && (
<Button
enabled
key="scheduleButton"
text="Agendar"
onPress={() => this.props.asyncSchedulingVisit(this.state,
this.props.counselor)}
/>
)}
<Button
enabled
key="scheduleButton"
text="Agendar"
onPress={() => this.props.asyncSchedulingVisit(this.state,
this.props.counselor)}
/>
)}
<Button
enabled={false}
text="Agendar"
Expand Down
10 changes: 5 additions & 5 deletions src/screens/VisitInvites.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,11 @@ class VisitInvites extends React.Component {
async getLocalization() {
try {
const response = await
axios.get(`${SCHOOL_ENDPOINT}/${this.state.visit.content.codSchool}`, {
params: {
campos: 'latitude,longitude',
},
});
axios.get(`${SCHOOL_ENDPOINT}/${this.state.visit.content.codSchool}`, {
params: {
campos: 'latitude,longitude',
},
});

logInfo(FILE_NAME, 'getSchoolLocalization in visits Notifications',
`Successfully got school data: ${JSON.stringify(response.data, null, 2)}`);
Expand Down

0 comments on commit 54fd914

Please sign in to comment.