Skip to content

Commit

Permalink
Merge pull request #221 from bruin-tennis-consulting/lint-sadface
Browse files Browse the repository at this point in the history
lint :(
  • Loading branch information
Fredenck authored Oct 28, 2024
2 parents 885b394 + 8c82127 commit 69d2498
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/(interactive)/match-list/page.js
Original file line number Diff line number Diff line change
@@ -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

Expand Down
3 changes: 3 additions & 0 deletions app/(interactive)/upload-match/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
5 changes: 4 additions & 1 deletion app/components/Dashboard.js
Original file line number Diff line number Diff line change
@@ -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'
Expand All @@ -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([])

Expand Down

0 comments on commit 69d2498

Please sign in to comment.