+
{data.Closed}
{data.UserID}
@@ -27,8 +27,8 @@ class Verification extends React.Component {
return (
- {this.state.verifications.map((data) => (
- -
+ {this.state.verifications.map((data, i) => (
+ -
))}
diff --git a/static/app.js b/static/app.js
index bf0492d..09004e1 100644
--- a/static/app.js
+++ b/static/app.js
@@ -9,7 +9,7 @@ function _inherits(subClass, superClass) { if (typeof superClass !== "function"
function Card(data) {
return React.createElement(
"div",
- { "class": "card" },
+ { className: "card" },
React.createElement(
"h4",
null,
@@ -21,7 +21,7 @@ function Card(data) {
),
React.createElement(
"div",
- { "class": "container" },
+ { className: "container" },
React.createElement(
"p",
null,
@@ -67,14 +67,14 @@ var Verification = function (_React$Component) {
value: function render() {
return React.createElement(
"div",
- null,
+ { className: "App" },
React.createElement(
"ul",
null,
- this.state.verifications.map(function (data) {
+ this.state.verifications.map(function (data, i) {
return React.createElement(
"li",
- { key: data.UserID },
+ { key: i },
" ",
React.createElement(Card, data)
);