diff --git a/index.html b/index.html index 16dcb00..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 2f4689c..b8b6c9c 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -37,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]); @@ -49,21 +49,6 @@ function App() { } /> } /> - {searchResults.length > 0 && ( - - )} ); } diff --git a/vite.config.js b/vite.config.js index d5c6b59..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/', // Ensure this is set to your repository name + base: '/web3-glossary-website/', plugins: [react()], resolve: { alias: {