From 0fc2545e4adfdd244dc7aaeef889e0feae94109b Mon Sep 17 00:00:00 2001 From: Indigo Starr Date: Sat, 30 Oct 2021 13:13:28 -0600 Subject: [PATCH] Refactor contributor key --- src/Components/Card.jsx | 1 - src/cardsDisplay.jsx | 13 ++++--------- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/src/Components/Card.jsx b/src/Components/Card.jsx index 1060748..80f6a23 100644 --- a/src/Components/Card.jsx +++ b/src/Components/Card.jsx @@ -2,7 +2,6 @@ import React from "react"; import "./Card.scss"; function Card(props) { - console.log("here"); // add file path to image in JSON and use as a filter const filter = props.image; const cache = {}; diff --git a/src/cardsDisplay.jsx b/src/cardsDisplay.jsx index a6c8b82..6c50986 100644 --- a/src/cardsDisplay.jsx +++ b/src/cardsDisplay.jsx @@ -5,7 +5,6 @@ import Card from "./Components/Card"; import ExampleCard from "./cards/exampleCard/exampleCard"; import KayleesCard from "./cards/kayleesCard/kayleesCard"; -//import IndigoCard from "./cards/indigoCard/indigoCard"; import KristiCard from "./cards/kristiCard/kristiCard"; import ChayCard from "./cards/ChayCard/ChayCard"; import KesineeCard from "./cards/kesineeCard/KesineeCard"; @@ -67,7 +66,7 @@ function CardsDisplay() {
-
+
@@ -76,20 +75,16 @@ function CardsDisplay() { contributor !== "brielle" && contributor !== "jordan" && contributor !== "rhonda" - ) { + ) { return ( -
- +
+
); } else { return null; } })} -
); }