From ab29a2c6ebd3c4d4fa2c02d2092e61df563763a8 Mon Sep 17 00:00:00 2001 From: Julian Boilen Date: Sun, 28 Jan 2024 10:03:42 -0500 Subject: [PATCH] Release Corrections --- .../ViewerPane/components/ImageButtons.tsx | 23 ++++++++----------- .../screens/App/shared/types/FeatureFlag.ts | 1 - 2 files changed, 9 insertions(+), 15 deletions(-) diff --git a/frontend/src/screens/App/screens/ViewerPane/components/ImageButtons.tsx b/frontend/src/screens/App/screens/ViewerPane/components/ImageButtons.tsx index 5a48dc9c..2daa93c1 100644 --- a/frontend/src/screens/App/screens/ViewerPane/components/ImageButtons.tsx +++ b/frontend/src/screens/App/screens/ViewerPane/components/ImageButtons.tsx @@ -3,8 +3,6 @@ import React from 'react'; import { useParams } from 'react-router-dom'; import { API_BASE } from 'utils/apiConstants'; -import { useFeatureFlag } from 'screens/App/shared/stores/FeatureFlagsStore'; -import FeatureFlag from 'screens/App/shared/types/FeatureFlag'; import Button, { ButtonStyledLink } from 'shared/components/Button'; import recordEvent from 'shared/utils/recordEvent'; import { useCorrectionsStore } from '../../Corrections'; @@ -20,7 +18,6 @@ export default function ImageButtons(): JSX.Element { const initializeCorrections = useCorrectionsStore( (state) => state.initialize ); - const isFixVisible = useFeatureFlag(FeatureFlag.CORRECTIONS); return (
@@ -50,17 +47,15 @@ export default function ImageButtons(): JSX.Element { > Know This Place? - {isFixVisible ? ( - - ) : null} +
); } diff --git a/frontend/src/screens/App/shared/types/FeatureFlag.ts b/frontend/src/screens/App/shared/types/FeatureFlag.ts index 6837a861..4efd0157 100644 --- a/frontend/src/screens/App/shared/types/FeatureFlag.ts +++ b/frontend/src/screens/App/shared/types/FeatureFlag.ts @@ -2,7 +2,6 @@ enum FeatureFlag { AUDIO_STORYTELLING = 'audio-storytelling', DISABLE_WELCOME_MODAL = 'disable-welcome-modal', ALWAYS_SHOW_OVERLAY = 'always-show-overlay', - CORRECTIONS = 'corrections', } export default FeatureFlag;