From 939f748b5f0914fe1558d571fdf13962c46b4537 Mon Sep 17 00:00:00 2001 From: Michael Foiani Date: Mon, 12 Apr 2021 14:07:52 -0400 Subject: Some quick frontend fixes to show results in a simple way. --- frontend/src/Hub.js | 2 +- frontend/src/HubList.js | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'frontend/src') diff --git a/frontend/src/Hub.js b/frontend/src/Hub.js index 982ffee..6dbcc57 100644 --- a/frontend/src/Hub.js +++ b/frontend/src/Hub.js @@ -11,7 +11,7 @@ function Hub(props) { const [isToggled, setIsToggled] = useState(false); return ( -
  • +
  • console.log(props.name)}>{props.name} has {props.value} setIsToggled((toggle) => !toggle)} src="/round_expand_more_white_18dp.png" alt="image"/> diff --git a/frontend/src/HubList.js b/frontend/src/HubList.js index 9947d5e..64dd131 100644 --- a/frontend/src/HubList.js +++ b/frontend/src/HubList.js @@ -31,12 +31,12 @@ function HubList(props) { }, [props.data]); return ( -
    -
    -

    Hubs and Suspicion

    -
      {hubItems}
    -
    -
    +
    +
    +

    Individual Suspicion

    +
      {hubItems}
    +
    +
    ); } -- cgit v1.2.3-70-g09d2