Skip to content

Commit 6d11e89

Browse files
committed
Remove showNearestCounselingCentre flag for now
1 parent 2efddec commit 6d11e89

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

src/featureFlags.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
const defaultFlags = {
2-
showNearestCounselingCentre: false,
32
showMermaidRuleGraph: false,
43
runwaysActive: false
54
};
@@ -10,7 +9,6 @@ const getFeatureFlag = (flag) => {
109
};
1110

1211
const featureFlags = {
13-
showNearestCounselingCentre: getFeatureFlag('showNearestCounselingCentre'),
1412
showMermaidRuleGraph: getFeatureFlag('showMermaidRuleGraph'),
1513
runwaysActive: getFeatureFlag('runwaysActive')
1614
};

src/ui/screens/benefit-page/components/BenefitPageLinksList.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ import Collapse from "@mui/material/Collapse";
66
import { HBox, VBox } from "@/ui/shared-components/LayoutBoxes";
77
import theme from '@/theme';
88
import OpenInNewIcon from '@mui/icons-material/OpenInNew';
9-
import featureFlags from "@/featureFlags";
109
import haversine from "haversine-distance"
1110

1211
const BenefitPageLinksList = ({ listTitle, data }) => {
1312
const [showAdditionalSupport, setShowAdditionalSupport] = useState(false);
1413
const [userCoordinates, setUserCoordinates] = useState(null);
1514
const [nearestCounselingCenters, setNearestCounselingCenters] = useState([]);
15+
const showNearestCounselingCentre = false;
1616

1717
const convertAddressToCoordinates = async () => {
1818
const address = prompt("Enter your address:");
@@ -122,7 +122,7 @@ const BenefitPageLinksList = ({ listTitle, data }) => {
122122
)
123123
}
124124
</VBox>
125-
{featureFlags.showNearestCounselingCentre &&
125+
{showNearestCounselingCentre &&
126126
<VBox sx={{ gap: 4, maxWidth: '800px' }}>
127127
<Typography variant="h3" sx={{ fontWeight: '600', wordBreak: "break-word", paddingTop: '32px' }}>
128128
Finde die nächste Caritas-Sozialberatungsstelle

0 commit comments

Comments
 (0)