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:
@ -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'
|
||||
|
||||
|
@ -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') {
|
||||
|
Reference in New Issue
Block a user