From 170e227bf9866d78d2b5797797408023c57a8679 Mon Sep 17 00:00:00 2001 From: Roland Date: Mon, 1 Jan 2024 17:11:09 -0700 Subject: [PATCH] Removing search suggestions context. Passing suggestions down to search table. --- app/src/App.js | 13 +++++-------- app/src/DashboardPage.js | 9 +++++---- app/src/components/Common.js | 2 +- app/src/components/Search.js | 36 +++++++----------------------------- 4 files changed, 18 insertions(+), 42 deletions(-) diff --git a/app/src/App.js b/app/src/App.js index b0fd943c..d4b881e0 100644 --- a/app/src/App.js +++ b/app/src/App.js @@ -21,7 +21,6 @@ import {SemanticToastContainer} from "react-semantic-toasts-2"; import {FilePreviewProvider} from "./components/FilePreview"; import {TagsProvider} from "./Tags"; import {ZimRoute} from "./components/Zim"; -import {SearchSuggestionsProvider} from "./components/Search"; function PageNotFound() { const {t} = useContext(ThemeContext); @@ -65,13 +64,11 @@ function Root() { return - -
- -
- -