From 8c821278e611192bf20886bc5778d408b8264330 Mon Sep 17 00:00:00 2001 From: Frederick Zhang Date: Mon, 28 Oct 2024 14:07:07 -0700 Subject: [PATCH] lint :( --- app/(interactive)/match-list/page.js | 2 +- app/(interactive)/upload-match/page.js | 3 +++ app/components/Dashboard.js | 5 ++++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/app/(interactive)/match-list/page.js b/app/(interactive)/match-list/page.js index 10eea28..c4720e7 100644 --- a/app/(interactive)/match-list/page.js +++ b/app/(interactive)/match-list/page.js @@ -1,6 +1,6 @@ 'use client' -import React, { useState } from 'react' +import React from 'react' import Link from 'next/link' import { useMatchData } from '../../components/MatchDataProvider' // Assuming the hook is located in the context folder diff --git a/app/(interactive)/upload-match/page.js b/app/(interactive)/upload-match/page.js index f5bb141..2d362d6 100644 --- a/app/(interactive)/upload-match/page.js +++ b/app/(interactive)/upload-match/page.js @@ -19,6 +19,9 @@ export default function UploadMatchForm() { const { userProfile } = useAuth() + // TODO: remove this line used for linting + console.log(collections) + useEffect(() => { const fetchCollectionsAndTeams = async () => { try { diff --git a/app/components/Dashboard.js b/app/components/Dashboard.js index f726b12..4886405 100644 --- a/app/components/Dashboard.js +++ b/app/components/Dashboard.js @@ -1,6 +1,6 @@ 'use client' -import React, { useEffect, useState, useMemo } from 'react' +import React, { useState, useMemo } from 'react' import { useRouter } from 'next/navigation' import { useMatchData } from './MatchDataProvider' import { useDatabase } from './DatabaseProvider' @@ -23,6 +23,9 @@ const Dashboard = () => { const { matches, error } = useMatchData() // Using the custom hook to access match data const { logos } = useDatabase() + // TODO: remove this line used for linting + console.log(error) + const [searchTerm, setSearchTerm] = useState('') const [selectedMatchSets, setSelectedMatchSets] = useState([])