From 77074a26de5a31327671b142be35708fb64c30bc Mon Sep 17 00:00:00 2001 From: Jaanus Sellin Date: Thu, 4 Jan 2024 14:59:45 +0200 Subject: [PATCH] refactor: now always show feedback button for search page (#5765) --- .../FeatureToggleList/FeatureToggleListTable.tsx | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/frontend/src/component/feature/FeatureToggleList/FeatureToggleListTable.tsx b/frontend/src/component/feature/FeatureToggleList/FeatureToggleListTable.tsx index abb37b7d41..688a90f883 100644 --- a/frontend/src/component/feature/FeatureToggleList/FeatureToggleListTable.tsx +++ b/frontend/src/component/feature/FeatureToggleList/FeatureToggleListTable.tsx @@ -71,10 +71,7 @@ const feedbackCategory = 'search'; const FeatureToggleListTableComponent: VFC = () => { const theme = useTheme(); - const { openFeedback, hasSubmittedFeedback } = useFeedback( - feedbackCategory, - 'automatic', - ); + const { openFeedback } = useFeedback(feedbackCategory, 'automatic'); const { trackEvent } = usePlausibleTracker(); const { environments } = useEnvironments(); const enabledEnvironments = environments @@ -326,10 +323,7 @@ const FeatureToggleListTableComponent: VFC = () => { onExportClick={() => setShowExportDialog(true)} />