Skip to content

Commit

Permalink
[FEAT]: Remove Export account when LedgerSync FF is On (#7664)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcayuelas-ledger authored Aug 23, 2024
1 parent 4485e37 commit f00f598
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/curvy-tigers-dress.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"ledger-live-desktop": patch
---

Remove Export account when LedgerSync FF is On
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,17 @@ import SectionExport from "./Export";
import Currencies from "./Currencies";
import BlacklistedTokens from "./BlacklistedTokens";
import HiddenNftCollections from "./HiddenNFTCollections";
import { useFeature } from "@ledgerhq/live-common/featureFlags/index";
export default function SectionAccounts() {
const { t } = useTranslation();

const ledgerSyncFF = useFeature("lldWalletSync");

return (
<Body>
<TrackPage category="Settings" name="Accounts" />
<SectionExport />
{!ledgerSyncFF?.enabled && <SectionExport />}

<Row
title={t("settings.accounts.hideEmptyTokens.title")}
desc={t("settings.accounts.hideEmptyTokens.desc")}
Expand Down

0 comments on commit f00f598

Please sign in to comment.