Skip to content

Commit 29162cc

Browse files
committed
fix: lint
1 parent b5c55e9 commit 29162cc

File tree

4 files changed

+16
-3
lines changed

4 files changed

+16
-3
lines changed

packages/grant-explorer/src/features/collections/CollectionCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { CommunityCollection } from "./community";
2-
import { Badge, BasicCard, CardHeader } from "../common/styles";
2+
import { BasicCard, CardHeader } from "../common/styles";
33
import { CollectionBanner } from "../discovery/CardBanner";
44
import { collectionPath } from "common/src/routes/explorer";
55

packages/grant-explorer/src/features/discovery/RoundCard.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import {
66
} from "common";
77
import { getDaysLeft, getRoundStates } from "../api/utils";
88
import {
9-
Badge,
109
BasicCard,
1110
CardContent,
1211
CardDescription,

packages/grant-explorer/src/features/projects/__tests__/ViewProject.test.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import { formatDateWithOrdinal } from "common";
55
import { useProject } from "../hooks/useProject";
66
import { beforeEach, expect, Mock } from "vitest";
77
import { DataLayer, v2Project } from "data-layer";
8-
import { mock } from "@wagmi/core";
98

109
vi.mock("../../common/Navbar");
1110
vi.mock("../../common/Auth");

packages/grant-explorer/src/features/round/__tests__/ViewProjectDetails.test.tsx

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,21 @@ const expectedProject: Application = {
7777
id: faker.finance.ethereumAddress(),
7878
metadata: {
7979
application: {
80+
project: {
81+
id: faker.finance.ethereumAddress(),
82+
createdAt: Date.now(),
83+
title: "Project test",
84+
description: "Best project in the world",
85+
website: "test.com",
86+
owners: [],
87+
bannerImg: "banner!",
88+
logoImg: "logo!",
89+
projectTwitter: "twitter.com/project",
90+
projectGithub: "github.com/project",
91+
userGithub: "github.com/user",
92+
lastUpdated: 0,
93+
credentials: {},
94+
},
8095
answers: [
8196
{
8297
answer: "never gonna give you up",

0 commit comments

Comments
 (0)