diff --git a/index.html b/index.html index 4eb79d1..823b917 100644 --- a/index.html +++ b/index.html @@ -4,10 +4,10 @@ Education DAO Glossary - +
- + diff --git a/src/App.jsx b/src/App.jsx index 799e238..b8b6c9c 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -1,6 +1,5 @@ import React, { useState, useEffect } from 'react'; import { Routes, Route, useNavigate } from 'react-router-dom'; -import Search from './components/Search'; import index from './searchIndex'; import terms from './terms.json'; import EntryPage from './EntryPage'; @@ -38,7 +37,7 @@ function App() { useEffect(() => { if (searchResults.length > 0) { - const query = searchResults[0].term; // Reuse the last search query + const query = searchResults[0].term; handleSearch(query); } }, [i18n.language]); diff --git a/vite.config.js b/vite.config.js index 4bbb0fd..c871178 100644 --- a/vite.config.js +++ b/vite.config.js @@ -3,7 +3,7 @@ import react from '@vitejs/plugin-react'; import path from 'path'; export default defineConfig({ - base: '/web3-glossary-website/', // Set this to your repository name + base: '/web3-glossary-website/', plugins: [react()], resolve: { alias: {