diff --git a/locales-pending/dashboard-premium.ftl b/locales-pending/dashboard-premium.ftl index f371281d31b..67869326dfa 100644 --- a/locales-pending/dashboard-premium.ftl +++ b/locales-pending/dashboard-premium.ftl @@ -33,11 +33,6 @@ modal-heres-what-we-fixed-description-part-one = Manually fixed includes to be fixed manually, even if you’ve subscribed to { -brand-monitor-plus }. modal-heres-what-we-fixed-description-part-two = Auto-removed includes any exposures from data broker profiles that we’ve removed for you. This is available only for { -brand-monitor-plus } subscribers. -# Deprecated (once feature flag `SetExpectationsForUsers` is enabled): -modal-heres-what-we-fixed-description-part-three-deprecated = In Progress includes anything that we are currently - working on fixing. Removals typically take 7–14 days but the most - difficult sites could take longer. You may also start to see removals - happening within the same day. modal-heres-what-we-fixed-description-part-three = In Progress includes anything that we are currently working on fixing. dashboard-exposures-filter-exposure-type = Exposure type @@ -57,9 +52,6 @@ modal-exposure-type-data-breach = Data breach means your information has Resolving these typically requires accessing your accounts, so you’ll need to take manual steps to resolve each breach even if you’ve subscribed to { -brand-monitor-plus }. modal-exposure-type-data-broker-part-one = Info for sale means a data broker site is publicly publishing and selling your personal info. You’ll need to manually request removal from each site. -# Deprecated (once feature flag `SetExpectationsForUsers` is enabled): -modal-exposure-type-data-broker-part-two-deprecated = For { -brand-monitor-plus } subscribers, we auto-remove these profiles on your behalf and make sure they don’t re-add you. - In both cases, removals typically take 7–14 days. Some can take longer, while others can happen within the hour. modal-exposure-type-data-broker-part-two = But if you’re a { -brand-monitor-plus } subscriber, we auto-remove the profiles for you. # About Exposure Statuses Modal diff --git a/locales-pending/fix-premium.ftl b/locales-pending/fix-premium.ftl index 452b32562a1..76f211a7583 100644 --- a/locales-pending/fix-premium.ftl +++ b/locales-pending/fix-premium.ftl @@ -110,21 +110,10 @@ data-broker-profiles-exposure-reduction = Exposure reduction: { $exposure_reduct # Variables: # $nr (number) - % of exposures reduced for the user exposure-reduction-chart-heading = { $nr }% -# Deprecated (once feature flag `SetExpectationsForUsers` is enabled): -exposure-reduction-chart-explanation-deprecated = exposures willbe reduced exposure-reduction-chart-explanation = exposures maybe reduced welcome-to-premium-data-broker-profiles-title-part-one = Welcome to { -brand-monitor-plus }. welcome-to-premium-data-broker-profiles-title-part-two = We’ll remove those profiles ASAP. -# Deprecated (once feature flag `SetExpectationsForUsers` is enabled): -# Variables: -# $profile_total_num is the number of exposures came back from user data broker scans. -# $exposure_reduction_percentage is the percent by which exposures are reduced -welcome-to-premium-data-broker-profiles-description-part-one-deprecated = - { $profile_total_num -> - [one] We’ve already started our auto-removal process of 1 profile — which will reduce your exposures by { $exposure_reduction_percentage }%. - *[other] We’ve already started our auto-removal process of { $profile_total_num } profiles — which will reduce your exposures by { $exposure_reduction_percentage }%. - } # Variables: # $profile_total_num is the number of exposures came back from user data broker scans. # $exposure_reduction_percentage is the percent by which exposures are reduced @@ -133,8 +122,6 @@ welcome-to-premium-data-broker-profiles-description-part-one = [one] We’ve already started our auto-removal process of 1 profile — which may reduce your exposures up to { $exposure_reduction_percentage }%. *[other] We’ve already started our auto-removal process of { $profile_total_num } profiles — which may reduce your exposures up to { $exposure_reduction_percentage }%. } -# Deprecated -welcome-to-premium-data-broker-profiles-description-part-two = Removals typically take 7-14 days, but some may happen within the hour. No matter how long it takes, we’ll keep working on it. # There used to be a "part two", but we removed that welcome-to-premium-data-broker-profiles-description-part-three = Next we’ll guide you through high risk data breaches that require manual steps. # Variables: diff --git a/locales-pending/landing-premium.ftl b/locales-pending/landing-premium.ftl index dc30076eeb8..d8e3719ead2 100644 --- a/locales-pending/landing-premium.ftl +++ b/locales-pending/landing-premium.ftl @@ -130,12 +130,6 @@ landing-premium-quote = There’s a $240 billion industry of data landing-premium-what-websites-sell-info-qn = What kinds of websites sell my personal information? landing-premium-what-websites-sell-info-ans = Certain websites are in the business of collecting and selling people’s personal information without their consent, which is unfortunately legal in the US. These sites are called data brokers and they make up a $240 billion dollar industry. They use sophisticated methods to collect personal, financial, location, and even health information, often without your consent or even your knowledge. They’ll sell what they’ve collected to third parties, profiting from your information and leaving you open to violations of your privacy and security. landing-premium-continuous-data-removal-qn = How does continuous data removal work? -# Deprecated (once feature flag `SetExpectationsForUsers` is enabled): -# Variables: -# $data_broker_sites_total_num is the total number of data broker sites available to scan. It will always be plural. -landing-premium-continuous-data-removal-ans-deprecated = { $data_broker_sites_total_num -> - *[other] Every month, we use the information you provided about yourself (name, location and birthdate) to search across { $data_broker_sites_total_num } data broker sites that sell people’s private information. If we find your data on any of these sites, we initiate the request for removal. Data removal can take anywhere from a day to a month. This feature is available for { -brand-monitor-plus } users only. Learn more here. -} # Variables: # $data_broker_sites_total_num is the total number of data broker sites available to scan. It will always be plural. landing-premium-continuous-data-removal-ans = { $data_broker_sites_total_num -> diff --git a/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/Dashboard.stories.tsx b/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/Dashboard.stories.tsx index ef2dd034c40..174e6e02b92 100644 --- a/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/Dashboard.stories.tsx +++ b/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/Dashboard.stories.tsx @@ -211,10 +211,7 @@ const DashboardWrapper = (props: DashboardWrapperProps) => { elapsedTimeInDaysSinceInitialScan={ props.elapsedTimeInDaysSinceInitialScan } - enabledFeatureFlags={[ - ...(props.enabledFeatureFlags ?? []), - "SetExpectationsForUsers", - ]} + enabledFeatureFlags={props.enabledFeatureFlags ?? []} experimentData={ props.experimentData ?? { ...defaultExperimentData, diff --git a/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/DashboardTopBanner/DashboardTopBannerContent.tsx b/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/DashboardTopBanner/DashboardTopBannerContent.tsx index c465fa092fb..b29bae2eca2 100644 --- a/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/DashboardTopBanner/DashboardTopBannerContent.tsx +++ b/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/DashboardTopBanner/DashboardTopBannerContent.tsx @@ -57,7 +57,6 @@ export const DashboardTopBannerContent = (props: DashboardTopBannerProps) => { monthlySubscriptionUrl, yearlySubscriptionUrl, subscriptionBillingAmount, - enabledFeatureFlags, } = props; const waitlistDialogState = useOverlayTriggerState({}); @@ -77,7 +76,6 @@ export const DashboardTopBannerContent = (props: DashboardTopBannerProps) => { } autoRemoved={bannerData.dataBrokerAutoFixedDataPointsNum} inProgress={bannerData.dataBrokerInProgressDataPointsNum} - enabledFeatureFlags={enabledFeatureFlags} /> ); } diff --git a/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/DashboardTopBanner/index.tsx b/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/DashboardTopBanner/index.tsx index 125ad82cf4b..b15bd0dfe89 100644 --- a/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/DashboardTopBanner/index.tsx +++ b/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/DashboardTopBanner/index.tsx @@ -9,7 +9,6 @@ import { DoughnutChart as Chart } from "../../../../../../../components/client/C import { DashboardSummary } from "../../../../../../../functions/server/dashboard"; import { StepDeterminationData } from "../../../../../../../functions/server/getRelevantGuidedSteps"; import { DashboardTopBannerContent } from "./DashboardTopBannerContent"; -import { FeatureFlagName } from "../../../../../../../../db/tables/featureFlags"; export type DashboardTopBannerProps = { bannerData: DashboardSummary; @@ -30,7 +29,6 @@ export type DashboardTopBannerProps = { monthly: number; }; totalNumberOfPerformedScans?: number; - enabledFeatureFlags: FeatureFlagName[]; }; export const DashboardTopBanner = (props: DashboardTopBannerProps) => { diff --git a/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/View.tsx b/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/View.tsx index e7ce9872e09..68757f17fbb 100644 --- a/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/View.tsx +++ b/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/View.tsx @@ -515,7 +515,6 @@ export const View = (props: Props) => { yearlySubscriptionUrl={props.yearlySubscriptionUrl} subscriptionBillingAmount={props.subscriptionBillingAmount} totalNumberOfPerformedScans={props.totalNumberOfPerformedScans} - enabledFeatureFlags={props.enabledFeatureFlags} />
{activeTab === "action-needed" ? ( diff --git a/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/ResolutionContainer.tsx b/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/ResolutionContainer.tsx index 6c8771a3a66..48cdd16065f 100644 --- a/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/ResolutionContainer.tsx +++ b/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/ResolutionContainer.tsx @@ -12,7 +12,6 @@ import styles from "./ResolutionContainer.module.scss"; import { ProgressCard } from "../../../../../../../components/client/ProgressCard"; import { StepDeterminationData } from "../../../../../../../functions/server/getRelevantGuidedSteps"; import { getDashboardSummary } from "../../../../../../../functions/server/dashboard"; -import { FeatureFlagName } from "../../../../../../../../db/tables/featureFlags"; type ResolutionContainerProps = { type: "highRisk" | "leakedPasswords" | "securityRecommendations"; @@ -24,7 +23,6 @@ type ResolutionContainerProps = { isEligibleForPremium: boolean; isStepDone: boolean; data: StepDeterminationData; - enabledFeatureFlags: FeatureFlagName[]; label?: string; cta?: ReactNode; }; @@ -66,7 +64,6 @@ export const ResolutionContainer = (props: ResolutionContainerProps) => { } autoRemoved={resolutionSummary.dataBrokerAutoFixedDataPointsNum} inProgress={resolutionSummary.dataBrokerInProgressDataPointsNum} - enabledFeatureFlags={props.enabledFeatureFlags} /> ) : ( diff --git a/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/data-broker-profiles/welcome-to-plus/WelcomeToPlus.stories.tsx b/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/data-broker-profiles/welcome-to-plus/WelcomeToPlus.stories.tsx index 0ba916d2dee..2386eccd2f6 100644 --- a/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/data-broker-profiles/welcome-to-plus/WelcomeToPlus.stories.tsx +++ b/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/data-broker-profiles/welcome-to-plus/WelcomeToPlus.stories.tsx @@ -71,7 +71,6 @@ const WelcomeToPlusViewWrapper = (props: { brokerScanCount: number }) => { }} l10n={l10n} subscriberEmails={[]} - enabledFeatureFlags={["SetExpectationsForUsers"]} /> ); diff --git a/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/data-broker-profiles/welcome-to-plus/WelcomeToPlusView.tsx b/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/data-broker-profiles/welcome-to-plus/WelcomeToPlusView.tsx index 409834ca276..f048d009917 100644 --- a/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/data-broker-profiles/welcome-to-plus/WelcomeToPlusView.tsx +++ b/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/data-broker-profiles/welcome-to-plus/WelcomeToPlusView.tsx @@ -18,14 +18,11 @@ import { ExtendedReactLocalization } from "../../../../../../../../../functions/ import noBreachesIllustration from "../../images/high-risk-breaches-none.svg"; import { CONST_ONEREP_DATA_BROKER_COUNT } from "../../../../../../../../../../constants"; import { TelemetryButton } from "../../../../../../../../../components/client/TelemetryButton"; -import { TelemetryLink } from "../../../../../../../../../components/client/TelemetryLink"; -import { FeatureFlagName } from "../../../../../../../../../../db/tables/featureFlags"; export type Props = { data: StepDeterminationData; subscriberEmails: string[]; l10n: ExtendedReactLocalization; - enabledFeatureFlags: FeatureFlagName[]; }; export function WelcomeToPlusView(props: Props) { @@ -67,13 +64,8 @@ export function WelcomeToPlusView(props: Props) {

{hasRelevantScanResults - ? /* c8 ignore next 14 */ - // As the `SetExpectationsForUsers` feature flag is removed, the - // branch will be covered again: - l10n.getFragment( - props.enabledFeatureFlags.includes("SetExpectationsForUsers") - ? "welcome-to-premium-data-broker-profiles-description-part-one" - : "welcome-to-premium-data-broker-profiles-description-part-one-deprecated", + ? l10n.getFragment( + "welcome-to-premium-data-broker-profiles-description-part-one", { vars: { profile_total_num: scanResultsInProgressCount, @@ -89,35 +81,13 @@ export function WelcomeToPlusView(props: Props) { }, )}

-

- {hasRelevantScanResults - ? /* c8 ignore next 23 */ - // As the `SetExpectationsForUsers` feature flag is removed, the - // branch will be covered again: - !props.enabledFeatureFlags.includes( - "SetExpectationsForUsers", - ) && - l10n.getFragment( - "welcome-to-premium-data-broker-profiles-description-part-two", - { - elems: { - how_it_works_link: ( - - ), - }, - }, - ) - : l10n.getString( - "welcome-to-premium-data-broker-profiles-zero-state-description-part-two", - )} -

+ {!hasRelevantScanResults && ( +

+ {l10n.getString( + "welcome-to-premium-data-broker-profiles-zero-state-description-part-two", + )} +

+ )}

{hasRelevantScanResults ? l10n.getString( @@ -148,10 +118,7 @@ export function WelcomeToPlusView(props: Props) { {hasRelevantScanResults ? (

- +
) : (
); } diff --git a/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/high-risk-data-breaches/HighRiskBreachLayout.tsx b/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/high-risk-data-breaches/HighRiskBreachLayout.tsx index 02fdf8bbf3b..4d3c5775364 100644 --- a/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/high-risk-data-breaches/HighRiskBreachLayout.tsx +++ b/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/high-risk-data-breaches/HighRiskBreachLayout.tsx @@ -28,14 +28,12 @@ import { } from "../../../../../../../../functions/universal/breach"; import { TelemetryButton } from "../../../../../../../../components/client/TelemetryButton"; import { TelemetryLink } from "../../../../../../../../components/client/TelemetryLink"; -import { FeatureFlagName } from "../../../../../../../../../db/tables/featureFlags"; export type HighRiskBreachLayoutProps = { type: HighRiskBreachTypes; subscriberEmails: string[]; data: StepDeterminationData; isEligibleForPremium: boolean; - enabledFeatureFlags: FeatureFlagName[]; }; export function HighRiskBreachLayout(props: HighRiskBreachLayoutProps) { @@ -166,7 +164,6 @@ export function HighRiskBreachLayout(props: HighRiskBreachLayoutProps) { illustration={illustration} isPremiumUser={hasPremium(props.data.user)} isEligibleForPremium={props.isEligibleForPremium} - enabledFeatureFlags={props.enabledFeatureFlags} cta={ !isStepDone && ( <> diff --git a/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/high-risk-data-breaches/[type]/HighRiskDataBreach.stories.tsx b/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/high-risk-data-breaches/[type]/HighRiskDataBreach.stories.tsx index d67b7b04e1d..60beb54ad66 100644 --- a/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/high-risk-data-breaches/[type]/HighRiskDataBreach.stories.tsx +++ b/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/high-risk-data-breaches/[type]/HighRiskDataBreach.stories.tsx @@ -113,7 +113,6 @@ const HighRiskBreachWrapper = (props: { type={props.type} data={data} isEligibleForPremium={true} - enabledFeatureFlags={["SetExpectationsForUsers"]} /> ); diff --git a/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/high-risk-data-breaches/[type]/page.tsx b/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/high-risk-data-breaches/[type]/page.tsx index b1287c8bfca..e61106236f4 100644 --- a/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/high-risk-data-breaches/[type]/page.tsx +++ b/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/high-risk-data-breaches/[type]/page.tsx @@ -16,7 +16,6 @@ import { getCountryCode } from "../../../../../../../../../functions/server/getC import { getLatestOnerepScanResults } from "../../../../../../../../../../db/tables/onerep_scans"; import { getOnerepProfileId } from "../../../../../../../../../../db/tables/subscribers"; import { isEligibleForPremium } from "../../../../../../../../../functions/server/onerep"; -import { getEnabledFeatureFlags } from "../../../../../../../../../../db/tables/featureFlags"; interface SecurityRecommendationsProps { params: { @@ -57,10 +56,6 @@ export default async function SecurityRecommendations({ latestScanData: scanData, }} isEligibleForPremium={isEligibleForPremium(countryCode)} - enabledFeatureFlags={await getEnabledFeatureFlags({ - isSignedOut: false, - email: session.user.email, - })} /> ); } diff --git a/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/high-risk-data-breaches/page.tsx b/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/high-risk-data-breaches/page.tsx index 54ac72179b6..79c2e8f5e57 100644 --- a/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/high-risk-data-breaches/page.tsx +++ b/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/high-risk-data-breaches/page.tsx @@ -12,7 +12,6 @@ import { getOnerepProfileId } from "../../../../../../../../../db/tables/subscri import { getLatestOnerepScanResults } from "../../../../../../../../../db/tables/onerep_scans"; import { getCountryCode } from "../../../../../../../../functions/server/getCountryCode"; import { isEligibleForPremium } from "../../../../../../../../functions/server/onerep"; -import { getEnabledFeatureFlags } from "../../../../../../../../../db/tables/featureFlags"; export default async function HighRiskDataBreaches() { const session = await getServerSession(); @@ -42,10 +41,6 @@ export default async function HighRiskDataBreaches() { latestScanData: scanData, }} isEligibleForPremium={isEligibleForPremium(countryCode)} - enabledFeatureFlags={await getEnabledFeatureFlags({ - isSignedOut: false, - email: session.user.email, - })} />
); diff --git a/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/leaked-passwords/LeakedPasswordsLayout.tsx b/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/leaked-passwords/LeakedPasswordsLayout.tsx index df5d569a85e..fb9ffd9c0a1 100644 --- a/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/leaked-passwords/LeakedPasswordsLayout.tsx +++ b/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/leaked-passwords/LeakedPasswordsLayout.tsx @@ -29,14 +29,12 @@ import { useEffect, useState } from "react"; import { useRouter } from "next/navigation"; import { LeakedPasswordsDataTypes } from "../../../../../../../../functions/universal/breach"; import { useTelemetry } from "../../../../../../../../hooks/useTelemetry"; -import { FeatureFlagName } from "../../../../../../../../../db/tables/featureFlags"; export interface LeakedPasswordsLayoutProps { type: LeakedPasswordsTypes; subscriberEmails: string[]; data: StepDeterminationData; isEligibleForPremium: boolean; - enabledFeatureFlags: FeatureFlagName[]; } export function LeakedPasswordsLayout(props: LeakedPasswordsLayoutProps) { @@ -193,7 +191,6 @@ export function LeakedPasswordsLayout(props: LeakedPasswordsLayoutProps) { title={title} illustration={illustration} isPremiumUser={hasPremium(props.data.user)} - enabledFeatureFlags={props.enabledFeatureFlags} cta={ !isStepDone && ( <> diff --git a/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/leaked-passwords/[type]/LeakedPasswords.stories.tsx b/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/leaked-passwords/[type]/LeakedPasswords.stories.tsx index cc6d313c19e..ebdf8a07862 100644 --- a/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/leaked-passwords/[type]/LeakedPasswords.stories.tsx +++ b/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/leaked-passwords/[type]/LeakedPasswords.stories.tsx @@ -75,7 +75,6 @@ const LeakedPasswordsWrapper = (props: { user: mockedSession.user, }} isEligibleForPremium={true} - enabledFeatureFlags={["SetExpectationsForUsers"]} /> ); diff --git a/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/leaked-passwords/[type]/page.tsx b/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/leaked-passwords/[type]/page.tsx index 83e822ef2c4..172869e238b 100644 --- a/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/leaked-passwords/[type]/page.tsx +++ b/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/leaked-passwords/[type]/page.tsx @@ -17,7 +17,6 @@ import { getOnerepProfileId } from "../../../../../../../../../../db/tables/subs import { getLatestOnerepScanResults } from "../../../../../../../../../../db/tables/onerep_scans"; import { isEligibleForPremium } from "../../../../../../../../../functions/server/onerep"; import { logger } from "../../../../../../../../../functions/server/logging"; -import { getEnabledFeatureFlags } from "../../../../../../../../../../db/tables/featureFlags"; interface LeakedPasswordsProps { params: { @@ -61,10 +60,6 @@ export default async function LeakedPasswords({ latestScanData: scanData, }} isEligibleForPremium={isEligibleForPremium(countryCode)} - enabledFeatureFlags={await getEnabledFeatureFlags({ - isSignedOut: false, - email: session.user.email, - })} /> ); } diff --git a/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/security-recommendations/SecurityRecommendationsLayout.tsx b/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/security-recommendations/SecurityRecommendationsLayout.tsx index da037c7d9f0..f70a32caf7d 100644 --- a/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/security-recommendations/SecurityRecommendationsLayout.tsx +++ b/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/security-recommendations/SecurityRecommendationsLayout.tsx @@ -27,14 +27,12 @@ import { BreachBulkResolutionRequest, SecurityRecommendationDataTypes, } from "../../../../../../../../functions/universal/breach"; -import { FeatureFlagName } from "../../../../../../../../../db/tables/featureFlags"; export interface SecurityRecommendationsLayoutProps { type: SecurityRecommendationTypes; subscriberEmails: string[]; data: StepDeterminationData; isEligibleForPremium: boolean; - enabledFeatureFlags: FeatureFlagName[]; } export function SecurityRecommendationsLayout( @@ -159,7 +157,6 @@ export function SecurityRecommendationsLayout( title={title} illustration={illustration} isPremiumUser={hasPremium(props.data.user)} - enabledFeatureFlags={props.enabledFeatureFlags} cta={ !isStepDone && (