From b1db64162966c9f82b691816244d01b2211a2d02 Mon Sep 17 00:00:00 2001 From: Jaxcoder Date: Wed, 1 May 2024 10:35:08 -0400 Subject: [PATCH] fix explorer navabar typo/lint --- packages/common/src/index.ts | 2 +- .../grant-explorer/src/features/collections/CollectionCard.tsx | 1 - .../src/features/collections/hooks/useCollections.ts | 2 -- packages/grant-explorer/src/features/common/Navbar.tsx | 2 +- .../grant-explorer/src/features/round/ViewProjectDetails.tsx | 2 +- 5 files changed, 3 insertions(+), 6 deletions(-) diff --git a/packages/common/src/index.ts b/packages/common/src/index.ts index 01ef8a2d15..bf77f0860c 100644 --- a/packages/common/src/index.ts +++ b/packages/common/src/index.ts @@ -430,7 +430,7 @@ const passportLiteRounds = [ { roundId: "23", chainId: 42161 }, // Hackathon Alumni { roundId: "24", chainId: 42161 }, // ENS { roundId: "25", chainId: 42161 }, // dApps & Apps - { roundId: "26", chainId: 42161 }, // WEB3 Infrastructurre + { roundId: "26", chainId: 42161 }, // WEB3 Infrastructure { roundId: "27", chainId: 42161 }, // Developer Tooling { roundId: "28", chainId: 42161 }, // Hypercerts Ecosystem { roundId: "29", chainId: 42161 }, // Climate Solutions diff --git a/packages/grant-explorer/src/features/collections/CollectionCard.tsx b/packages/grant-explorer/src/features/collections/CollectionCard.tsx index 5d31887c9e..5123cea4b1 100644 --- a/packages/grant-explorer/src/features/collections/CollectionCard.tsx +++ b/packages/grant-explorer/src/features/collections/CollectionCard.tsx @@ -1,5 +1,4 @@ import { CommunityCollection } from "./community"; -import { Link } from "react-router-dom"; import { Badge, BasicCard, CardHeader } from "../common/styles"; import { CollectionBanner } from "../discovery/CardBanner"; import { collectionPath } from "common/src/routes/explorer"; diff --git a/packages/grant-explorer/src/features/collections/hooks/useCollections.ts b/packages/grant-explorer/src/features/collections/hooks/useCollections.ts index 33876949ab..0dc6538365 100644 --- a/packages/grant-explorer/src/features/collections/hooks/useCollections.ts +++ b/packages/grant-explorer/src/features/collections/hooks/useCollections.ts @@ -1,6 +1,4 @@ import useSWR, { SWRResponse } from "swr"; -import { Collection } from "data-layer"; -import { useDataLayer } from "data-layer"; import { CommunityCollection } from "../community"; import { CollectionV1, parseCollection } from "../collections"; import { getConfig } from "common/src/config"; diff --git a/packages/grant-explorer/src/features/common/Navbar.tsx b/packages/grant-explorer/src/features/common/Navbar.tsx index 63ab2f89b5..3e1e891219 100644 --- a/packages/grant-explorer/src/features/common/Navbar.tsx +++ b/packages/grant-explorer/src/features/common/Navbar.tsx @@ -46,7 +46,7 @@ export default function Navbar(props: NavbarProps) { { chainId: 42161, roundId: "26", - name: "WEB3 Infrastructurre", + name: "WEB3 Infrastructure", link: "/round/42161/26", }, { diff --git a/packages/grant-explorer/src/features/round/ViewProjectDetails.tsx b/packages/grant-explorer/src/features/round/ViewProjectDetails.tsx index ab9cebcb46..8301393278 100644 --- a/packages/grant-explorer/src/features/round/ViewProjectDetails.tsx +++ b/packages/grant-explorer/src/features/round/ViewProjectDetails.tsx @@ -667,7 +667,7 @@ async function isVerified(args: { project: Project | undefined; dataLayer: DataLayer; }) { - const { verifiableCredential, provider, project, dataLayer } = args; + const { verifiableCredential, provider, project } = args; const passportVerifier = new PassportVerifierWithExpiration(); const vcHasValidProof = await passportVerifier.verifyCredential(verifiableCredential);