From 81e9538ed8330ebb195afd355b7a68dec6a15b0f Mon Sep 17 00:00:00 2001 From: cqb13 Date: Thu, 14 Sep 2023 23:06:36 -0400 Subject: [PATCH] Formatting --- app/account/page.tsx | 24 +++++++++++++----------- app/history/page.tsx | 12 ++++++------ app/layout.tsx | 4 ++-- app/page.tsx | 8 ++++---- components/account/statBox.tsx | 8 +++++++- components/general/dropdown.tsx | 4 +++- components/layout/nav.tsx | 6 +++--- components/misc/signUpPopup.tsx | 2 +- components/scoring/saveScorePopup.tsx | 2 +- components/scoring/scoringChart.tsx | 2 +- components/scoring/sessionOptions.tsx | 1 - 11 files changed, 41 insertions(+), 32 deletions(-) diff --git a/app/account/page.tsx b/app/account/page.tsx index fb2d53e..7d68b25 100644 --- a/app/account/page.tsx +++ b/app/account/page.tsx @@ -1,21 +1,21 @@ "use client"; -import { useState, useEffect } from "react"; -import { useAuthContext } from "@context/authContext"; -import Button from "@/components/general/button"; -import { db, auth } from "@lib/firebase"; -import Image from "next/image"; -import getUserDoc from "@/utils/firebase/db/getUserDoc"; -import Input from "@/components/general/input"; -import Dropdown from "@/components/general/dropdown"; import updateDisplayName from "@/utils/firebase/db/updateDisplayName"; import updateProfileType from "@/utils/firebase/db/updateProfileType"; import deleteAccount from "@/utils/firebase/account/deleteAccount"; import googleSignOut from "@/utils/firebase/account/googleSignOut"; -import { useRouter } from "next/navigation"; -import getAverageScore from "@/utils/score/getAverageScore"; import countTotalSplits from "@/utils/score/countTotalSplits"; +import getAverageScore from "@/utils/score/getAverageScore"; +import getUserDoc from "@/utils/firebase/db/getUserDoc"; +import { useAuthContext } from "@context/authContext"; +import Dropdown from "@/components/general/dropdown"; import StatBox from "@/components/account/statBox"; +import Button from "@/components/general/button"; +import Input from "@/components/general/input"; +import { useState, useEffect } from "react"; +import { useRouter } from "next/navigation"; +import { db, auth } from "@lib/firebase"; +import Image from "next/image"; export default function History() { // general @@ -101,7 +101,9 @@ export default function History() { ) : null} - {currentWindow == "social" ?

Ill get around to this at some point

: null} + {currentWindow == "social" ? ( +

Ill get around to this at some point

+ ) : null} {currentWindow == "account" ? (
-
-

- {`${location} ${distance} ${distanceUnit} ${bow}`} +
+

+ {`${location} ${distance}${distanceUnit} ${bow}`}