Skip to content

Commit

Permalink
fixed infinite fetching and uncommented roster
Browse files Browse the repository at this point in the history
  • Loading branch information
maxfukuh4ra committed Nov 22, 2024
1 parent 9bf119a commit c209a2b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions app/components/Dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { useData } from './DataProvider'
import styles from '../styles/Dashboard.module.css'
import DashTileContainer from './DashTileContainer'
// import getTeams from '@/app/services/getTeams.js'
// import RosterList from './RosterList.js'
import RosterList from './RosterList.js'
import Fuse from 'fuse.js'
import { searchableProperties } from '@/app/services/searchableProperties.js'
import SearchIcon from '@/public/search'
Expand Down Expand Up @@ -176,8 +176,8 @@ const Dashboard = () => {
</div>

<div className={styles.rosterContainer}>
{/* <RosterList /> */}
<p>Roster being fixed ...</p>
{<RosterList />}
{/* <p>Roster being fixed ...</p> */}
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/components/RosterList.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const RosterList = () => {
}

fetchTeams()
}, [mensRoster])
}, [])

return (
// entire container
Expand Down

0 comments on commit c209a2b

Please sign in to comment.