Skip to content

Commit

Permalink
💚 Travis fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Yannick committed Jan 28, 2018
1 parent 395d626 commit f28d3c6
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/removeMeasurementButton/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ export default class RemoveMeasurementButton extends Component {
RemoveMeasurementButton.propTypes = {
Id: PropTypes.string.isRequired,
removeMeasurement: PropTypes.func.isRequired,
label: PropTypes.string.isRequired,
// label: PropTypes.string.isRequired,
};
1 change: 0 additions & 1 deletion src/routes/account/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,4 @@ Account.propTypes = {
// measurements: PropTypes.object.isRequired,
email: PropTypes.object.isRequired,
logout: PropTypes.func.isRequired,
login: PropTypes.string.isRequired,
};
4 changes: 2 additions & 2 deletions src/routes/edit/index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { Component } from 'preact';
import { PropTypes } from 'preact-compat';
import { route } from 'preact-router';
import moment from 'moment';
import DatePicker from 'react-datepicker';
// import moment from 'moment';
// import DatePicker from 'react-datepicker';

import base from '../../base';

Expand Down
7 changes: 6 additions & 1 deletion src/routes/progress/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import {
Area,
CartesianGrid,
} from 'recharts';
import { PropTypes } from 'preact-compat';

import base from '../../base';

Expand Down Expand Up @@ -158,4 +159,8 @@ export default class Progress extends Component {
</div>
);
}
}
}

Progress.propTypes = {
uid: PropTypes.string.isRequired,
};

0 comments on commit f28d3c6

Please sign in to comment.