config fix

* FLASK_ENV (new in Flask 1.0)
* eslint config (corrects directories and rules)
* minor fixes
Note: still having problems w/ database used by pytest
This commit is contained in:
Sam
2018-05-01 11:52:38 +02:00
parent e423c355b5
commit fd8b51f416
8 changed files with 19 additions and 16 deletions

View File

@ -1,7 +1,6 @@
import React from 'react'
import { Helmet } from 'react-helmet'
import { connect } from 'react-redux'
import { Link } from 'react-router-dom'
import { deleteData, updateData } from '../../../actions/index'

View File

@ -39,6 +39,7 @@ export default function AdminPage(props) {
</thead>
<tbody>
{ results.map((result, idx) => (
// eslint-disable-next-line react/no-array-index-key
<tr key={idx}>
{ Object.keys(result).map(key => {
if (key === 'id') {