Skip to content

Commit

Permalink
lint cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
danbastin committed Nov 27, 2024
1 parent 299bee1 commit 684f6cb
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 16 deletions.
1 change: 0 additions & 1 deletion src/app/_components/HomePage/HomePageTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ export interface HexagonProps {

export interface GameInProgressPlayerProps {
playerImage: string;
hexagonColors: string[];
}

export interface PublicGameInProgressProps {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
import { Box } from "@mui/material";
import Hexagon from "../Hexagon/Hexagon";
import { GameInProgressPlayerProps } from "../../HomePageTypes";

const GameInProgressPlayer: React.FC<GameInProgressPlayerProps> = ({
playerImage,
hexagonColors,
}) => {
//------------------------STYLES------------------------//

Expand All @@ -17,14 +15,6 @@ const GameInProgressPlayer: React.FC<GameInProgressPlayerProps> = ({
display: "flex",
};

const hexagonsContainerStyle = {
display: "flex",
flexDirection: "column",
justifyContent: "center",
alignItems: "center",
ml: ".3vw",
};

const boxStyle = {
display: "flex",
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import React from "react";
import { Box, Button, Typography } from "@mui/material";
import GameInProgressPlayer from "../GameInProgressPlayer/GameInProgressPlayer";
import { PublicGameInProgressProps } from "../../HomePageTypes";
import { Margin } from "@mui/icons-material";

const PublicMatch: React.FC<PublicGameInProgressProps> = ({ match }) => {

Expand All @@ -29,12 +28,10 @@ const PublicMatch: React.FC<PublicGameInProgressProps> = ({ match }) => {
<Box sx={styles.matchItems}>
<GameInProgressPlayer
playerImage={match.player1.playerImage}
hexagonColors={match.player1.hexagonColors}
/>
<Typography variant="body1" sx={styles.matchType}>vs</Typography>
<GameInProgressPlayer
playerImage={match.player2.playerImage}
hexagonColors={match.player2.hexagonColors}
/>
</Box>
<Button>Spectate</Button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ const CreateGameForm: React.FC<CreateGameFormProps> = ({
</Link>{' '}
Deck Link{' '}
<Typography variant="body1" sx={labelTextStyleSecondary}>
(use the URL or 'Deck Link' button)
(use the URL or &apos;Deck Link&apos; button)
</Typography>
</Typography>
<StyledTextField
Expand Down
3 changes: 2 additions & 1 deletion src/next-auth.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import NextAuth from "next-auth";
// eslint-disable-next-line @typescript-eslint/no-unused-vars
import type { NextAuth } from "next-auth";

declare module "next-auth" {
interface Session {
Expand Down

0 comments on commit 684f6cb

Please sign in to comment.