From fbc64a5e5cc3e046604685ff793535fcd532f10a Mon Sep 17 00:00:00 2001 From: Chris Torres Date: Sat, 25 May 2024 03:04:10 -0700 Subject: [PATCH] style: fix eslint and prettier issues --- src/app/hours-and-location/page.tsx | 1 - src/app/layout.tsx | 5 +- src/app/site-maps/page.tsx | 91 ++++++------- src/app/virtual-tours/[tourId]/page.tsx | 2 +- .../virtual-tours/[tourId]/tour-end/page.tsx | 7 +- .../[spotlightId]/[displayId]/page.tsx | 2 +- .../[spotlightId]/page.tsx | 2 +- src/app/wildlife-spotlights/page.tsx | 56 ++++---- .../ExhibitPreview/ExhibitPreview.tsx | 1 - .../FilterButton/FilterButton.tsx | 7 +- .../RelatedLinks/RelatedLinks.tsx | 2 +- .../SiteMap/ExhibitPreviewCard.tsx | 127 +++++++++++------- .../SiteMap/MapInteractionHandler.tsx | 2 +- .../userComponents/SiteMap/SiteMap.tsx | 29 ++-- .../SiteMap/TourPreviewCard.tsx | 78 ++++++++--- .../userComponents/emailPopup/page.tsx | 6 +- src/supabase/category/queries.ts | 45 +++---- src/supabase/links/queries.tsx | 2 +- src/supabase/media/queries.ts | 4 +- src/supabase/tour_displays/queries.tsx | 5 +- tailwind.config.ts | 3 - 21 files changed, 268 insertions(+), 209 deletions(-) diff --git a/src/app/hours-and-location/page.tsx b/src/app/hours-and-location/page.tsx index 7ef46d63..35e4ad07 100644 --- a/src/app/hours-and-location/page.tsx +++ b/src/app/hours-and-location/page.tsx @@ -1,7 +1,6 @@ 'use client'; import React, { useEffect, useState } from 'react'; -import Image from 'next/image'; import { FiCalendar, FiCompass } from 'react-icons/fi'; import Link from 'next/link'; import NavBar from '../../components/userComponents/NavBar/NavBar'; diff --git a/src/app/layout.tsx b/src/app/layout.tsx index b7a89fa8..26300222 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -45,12 +45,9 @@ export default function RootLayout({ crossOrigin="" />