Skip to content

Commit 01975a3

Browse files
committed
chore: remove deadcode
1 parent f00aa73 commit 01975a3

2 files changed

Lines changed: 10 additions & 180 deletions

File tree

apps/web/src/hooks/useSpecSearch.ts

Lines changed: 0 additions & 179 deletions
This file was deleted.

apps/web/src/pages/SpecExplorer.tsx

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { Loader2 } from "lucide-react";
33
import { useCallback, useEffect, useRef, useState } from "react";
44
import { Navbar } from "../components/Navbar";
55
import { PdfViewer } from "../components/PdfViewer";
6-
import type { SpecSearchResult } from "../hooks/useSpecSearch";
76

87
// MCP server response type
98
interface MCPSearchResult {
@@ -22,6 +21,16 @@ interface MCPSearchResponse {
2221
results: MCPSearchResult[];
2322
}
2423

24+
// Search result type
25+
interface SpecSearchResult {
26+
id: string;
27+
sectionId: string;
28+
title: string;
29+
description?: string;
30+
partNumber: number;
31+
pageNumber: number | null;
32+
}
33+
2534
// Default PDF URL for preloading
2635
const DEFAULT_PDF_URL = "https://cdn.ooxml.dev/ecma-376/part1.pdf";
2736

0 commit comments

Comments
 (0)