Skip to content

Commit

Permalink
add flags back in
Browse files Browse the repository at this point in the history
  • Loading branch information
ajaitasaini committed Jan 8, 2025
1 parent fe05460 commit 0e594f5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions services/ui-src/src/components/layout/HomePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ import {
import { useEffect } from "react";
import { checkDateRangeStatus, useStore } from "utils";
import verbiage from "verbiage/pages/home";
//import { useFlags } from "launchdarkly-react-client-sdk";
import { useFlags } from "launchdarkly-react-client-sdk";

export const HomePage = () => {
const { bannerData, bannerActive, setBannerActive } = useStore();
const { intro, cards } = verbiage;
const { userIsEndUser } = useStore().user ?? {};

const isTAReportActive = false;
const isCIReportActive = false;
const isTAReportActive = useFlags()?.isTaReportActive;
const isCIReportActive = useFlags()?.isCiReportActive;

useEffect(() => {
let bannerActivity = false;
Expand Down

0 comments on commit 0e594f5

Please sign in to comment.