From 848c13b12dc2449abe330c138f5cd0d825a967b3 Mon Sep 17 00:00:00 2001
From: "joshcs.eth" <46639943+jcstein@users.noreply.github.com>
Date: Fri, 6 Oct 2023 18:46:55 -0400
Subject: [PATCH] feat: add search bar
---
src/pages/index.tsx | 175 +++++++++++++++++++++++++++++---------------
1 file changed, 117 insertions(+), 58 deletions(-)
diff --git a/src/pages/index.tsx b/src/pages/index.tsx
index e55f637..f29414e 100644
--- a/src/pages/index.tsx
+++ b/src/pages/index.tsx
@@ -103,6 +103,7 @@ export default function Example() {
});
const [selectedVersion, setSelectedVersion] = useState(versions[0]);
const [showHash, setShowHash] = useState('');
+ const [searchTerm, setSearchTerm] = useState('');
useEffect(() => {
const fetchJsonData = async (version: string) => {
@@ -196,23 +197,25 @@ export default function Example() {
-
-
+
+
+
+