diff --git a/packages/inspector/components/TraitsTable.tsx b/packages/inspector/components/TraitsTable.tsx
index 45ffa2a..0ef0510 100644
--- a/packages/inspector/components/TraitsTable.tsx
+++ b/packages/inspector/components/TraitsTable.tsx
@@ -1,18 +1,7 @@
-import { trait } from "../types";
+import { Trait } from "../types";
import { isOdd } from "../util";
-export const TraitsTable = ({
- name,
- loading,
- tokenId,
- attributes,
-}: {
- name: string;
- loading: boolean;
- tokenId: number;
- attributes: trait[];
-}) => {
- const Loading = () => "loading";
+export const TraitsTable = ({ name, attributes }: { name: string; attributes: Trait[] }) => {
return (
{name}
diff --git a/packages/inspector/hooks/useLocalRPC.tsx b/packages/inspector/hooks/useLocalRPC.tsx
index 290e755..db0dfb3 100644
--- a/packages/inspector/hooks/useLocalRPC.tsx
+++ b/packages/inspector/hooks/useLocalRPC.tsx
@@ -16,16 +16,6 @@ type NFTState = {
rawSvg: string;
};
-const nftStateDefault: NFTState = {
- status: FetchStatus.UNFETCHED,
- metadata: {
- image: "",
- attributes: [],
- },
- tokenId: -1,
- rawSvg: "",
-};
-
const LOCAL_RPC_URI = "http://localhost:8545";
export const useLocalRPC = () => {
const [bibosContract, setBibosContract] = useState(null);
diff --git a/packages/inspector/pages/index.tsx b/packages/inspector/pages/index.tsx
index 041e8d3..c2aad4a 100644
--- a/packages/inspector/pages/index.tsx
+++ b/packages/inspector/pages/index.tsx
@@ -1,10 +1,8 @@
import { useState } from "react";
-import SyntaxHighlighter from "react-syntax-highlighter";
import { xml } from "@codemirror/lang-xml";
import { EditorView } from "@codemirror/view";
-import { basicSetup } from "codemirror";
import CodeMirror from "@uiw/react-codemirror";
-import { syntaxHighlighting, bracketMatching, foldGutter, codeFolding } from "@codemirror/language";
+import { syntaxHighlighting, foldGutter, codeFolding } from "@codemirror/language";
import { highlightDark, themeDark } from "../components/CodeMirrorTheme";
import { FetchStatus } from "../types";
@@ -37,7 +35,6 @@ export default function Index() {
-
+