From 37837a508c468353fb8b162ae16a380548297f19 Mon Sep 17 00:00:00 2001 From: Gregory Rudolph Date: Wed, 30 Dec 2020 19:40:02 -0500 Subject: [PATCH] Add css --- src/app.js | 8 ++++---- static/app.js | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/app.js b/src/app.js index 2c0f842..aa9eed3 100644 --- a/src/app.js +++ b/src/app.js @@ -1,8 +1,8 @@ function Card(data) { return ( -
+

{data.Username}

-
+

{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) );