update lint config (due to changes with prettier 2.0.x version)
This commit is contained in:
@ -18,8 +18,9 @@ export default function ActivitySegments(props) {
|
||||
key={`segment-${index}`}
|
||||
>
|
||||
<Link
|
||||
to={`/activities/${segment.activity_id}/segment/${index +
|
||||
1}`}
|
||||
to={`/activities/${segment.activity_id}/segment/${
|
||||
index + 1
|
||||
}`}
|
||||
>
|
||||
{t('activities:segment')} {index + 1}
|
||||
</Link>{' '}
|
||||
|
@ -134,7 +134,7 @@ export default connect(
|
||||
onDataUpdate: (e, target) => {
|
||||
const data = [].slice
|
||||
.call(e.target.form.elements)
|
||||
.reduce(function(map, obj) {
|
||||
.reduce(function (map, obj) {
|
||||
if (obj.name) {
|
||||
map[obj.name] = obj.value
|
||||
}
|
||||
|
Reference in New Issue
Block a user