Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
fearlessfe committed Jul 30, 2024
1 parent dfca2dc commit 8f1bd59
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/Cards/Card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export const CardHeader: FC<CardHeaderProps> = function ({
export type CardFieldProps = {
name: ReactNode;
value: ReactNode;
originValue: string;
originValue?: string;
};

export const CardField: FC<CardFieldProps> = function ({
Expand Down
2 changes: 0 additions & 2 deletions src/components/Cards/SurfaceCards/GameCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import { shortenAddress } from "@/utils";
import shield from "@/icons/shield.png";
import sword from "@/icons/sword.png";
import Image from "next/image";
import { useRouter } from "next/router";

type GameCardProps = {
game: Game;
Expand All @@ -19,7 +18,6 @@ type GameCardProps = {
const GameCard: FC<Partial<GameCardProps>> = function ({
game: { l2_block_number: number, block_time, game_contract, status } = {},
}) {
const nav = useRouter();

return (
<SurfaceCardBase>
Expand Down

0 comments on commit 8f1bd59

Please sign in to comment.