From e4f7c7eb847f3172e86b070b3fe15c09928b4fdd Mon Sep 17 00:00:00 2001 From: RutvikGhaskataEalf Date: Fri, 4 Oct 2024 12:02:37 +0530 Subject: [PATCH] fix: remove unused imports --- app/workspace/[id]/page.tsx | 5 ++--- components/workspace/use-cli-commands.tsx | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/app/workspace/[id]/page.tsx b/app/workspace/[id]/page.tsx index e124beb..3fd27ba 100644 --- a/app/workspace/[id]/page.tsx +++ b/app/workspace/[id]/page.tsx @@ -1,6 +1,5 @@ "use client"; -import { Fragment } from "react"; import { BuildDeployPanel } from "@/components/build-deploy-panel"; import TopBottom from "@/components/top-bottom"; import { @@ -19,10 +18,10 @@ export default function Page({params: {id}}: {params: {id: string}}) { + <> - + } bottom={} topDefaultSize={30} diff --git a/components/workspace/use-cli-commands.tsx b/components/workspace/use-cli-commands.tsx index e4d772a..1e14fbe 100644 --- a/components/workspace/use-cli-commands.tsx +++ b/components/workspace/use-cli-commands.tsx @@ -3,7 +3,7 @@ import { useLogs, useProposalInfo, useTransactionResult } from "@/data/client"; import { db } from "@/data/db"; import { useWallet } from "@/data/wallet"; import { Loader2 } from "lucide-react"; -import { usePathname, useRouter, useSearchParams } from "next/navigation"; +import { usePathname } from "next/navigation"; import { PropsWithChildren, useContext, useEffect, useState } from "react"; import { TerminalContext } from "react-terminal"; import { useWorkspaceId } from "./use-workspace-id"; @@ -395,7 +395,7 @@ function DeployedContractDetails({ id }: { id?: string }) { if (!data) return ; if (data?.address) { - setSearchParams({ ["contract-viewer-address"]: data.address }); + setSearchParams({ "contract-viewer-address": data.address }); } return

Contract Address: {data.address}

;