diff --git a/.vscode/settings.json b/.vscode/settings.json
index 335f886..4990ba4 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -1,3 +1,5 @@
{
- "editor.defaultFormatter": "esbenp.prettier-vscode"
+ "editor.defaultFormatter": "esbenp.prettier-vscode",
+ "editor.formatOnSave": true,
+ "prettier.jsxSingleQuote": true
}
\ No newline at end of file
diff --git a/src/App.js b/src/App.js
index 93a8a9f..aa90c0f 100644
--- a/src/App.js
+++ b/src/App.js
@@ -670,12 +670,12 @@ const App = () => {
/>
-
+
{role === "judge" ? null : (
)}
diff --git a/src/Components/Card.js b/src/Components/Card.js
index bcfcd55..286f7a7 100644
--- a/src/Components/Card.js
+++ b/src/Components/Card.js
@@ -1,6 +1,5 @@
import React, { useState } from "react";
-import { AiOutlineStar } from "react-icons/ai";
import { TiThumbsUp, TiThumbsDown } from "react-icons/ti";
import { HiOutlineSaveAs } from "react-icons/hi";
@@ -10,7 +9,6 @@ import { GrOverview } from "react-icons/gr";
import "./Card.css";
const Card = (props) => {
- const [hover, setHover] = useState(false);
const [wasRated, setWasRated] = useState("");
const [cardSaved, setCardSaved] = useState(false);
@@ -43,7 +41,7 @@ const Card = (props) => {
{props.claim}
{props.source ? (
-
+
source
) : null}
diff --git a/src/Components/LoginModal.js b/src/Components/LoginModal.js
index ff74afa..388fc2f 100644
--- a/src/Components/LoginModal.js
+++ b/src/Components/LoginModal.js
@@ -205,7 +205,7 @@ const LoginModal = (props) => {
style={{ width: "5rem", height: "5rem" }}
/>
- {props.userName && props.role && debateID != -1 ? (
+ {props.userName && props.role && debateID !== -1 ? (
<>