diff --git a/ark_nova_stats/frontend/src/components/GameLogArchivesTable.tsx b/ark_nova_stats/frontend/src/components/GameLogArchivesTable.tsx index 319d3b45..29481c20 100644 --- a/ark_nova_stats/frontend/src/components/GameLogArchivesTable.tsx +++ b/ark_nova_stats/frontend/src/components/GameLogArchivesTable.tsx @@ -3,7 +3,6 @@ import { Link } from 'react-router-dom'; import {getDate} from '../DateUtils'; import GameLogArchive from '../types/GameLogArchive'; -import User from '../types/User'; import Table from './Table'; type GameLogArchivesTableParams = { diff --git a/ark_nova_stats/frontend/src/views/CardsView.tsx b/ark_nova_stats/frontend/src/views/CardsView.tsx index d09bd6e1..c7b299fd 100644 --- a/ark_nova_stats/frontend/src/views/CardsView.tsx +++ b/ark_nova_stats/frontend/src/views/CardsView.tsx @@ -39,7 +39,7 @@ const CardsView = () => { const cards: Card[] = data.cards; const tableColumns = ["Name", "Most played by"]; const cardRows = cards.map((card: Card) => { - const mostPlayedUser: User = data.cards.find((c: any) => {c.bgaId === card.bgaId}).mostPlayedBy[0]; + const mostPlayedUser: User = data.cards.find((c: any) => {return c.bgaId === card.bgaId}).mostPlayedBy[0]; return { "Name": {card.name}, "Most played by": {mostPlayedUser.name} diff --git a/ark_nova_stats/frontend/src/views/HomeView.tsx b/ark_nova_stats/frontend/src/views/HomeView.tsx index f386725d..57c5e43d 100644 --- a/ark_nova_stats/frontend/src/views/HomeView.tsx +++ b/ark_nova_stats/frontend/src/views/HomeView.tsx @@ -57,9 +57,6 @@ export const HOME_VIEW_QUERY = gql` -type HomeViewParams = { -} - const HomeView = () => { const { loading, error, data } = useQuery( HOME_VIEW_QUERY,