From 462dbf120794ca7ebfea9567e9d963ae222194ea Mon Sep 17 00:00:00 2001 From: Come Grellard Date: Thu, 10 Oct 2024 16:07:39 +0200 Subject: [PATCH] fix(llm): ledger sync error text strings must be rendered within a Text component --- .changeset/thin-timers-beg.md | 5 +++++ .../newArch/features/WalletSync/components/Error/Simple.tsx | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/thin-timers-beg.md diff --git a/.changeset/thin-timers-beg.md b/.changeset/thin-timers-beg.md new file mode 100644 index 000000000000..8182a3a7da3f --- /dev/null +++ b/.changeset/thin-timers-beg.md @@ -0,0 +1,5 @@ +--- +"live-mobile": patch +--- + +LLM - Fix ledger sync error : Text strings must be rendered within a component. diff --git a/apps/ledger-live-mobile/src/newArch/features/WalletSync/components/Error/Simple.tsx b/apps/ledger-live-mobile/src/newArch/features/WalletSync/components/Error/Simple.tsx index 1296c92f284c..c01a6a9958a4 100644 --- a/apps/ledger-live-mobile/src/newArch/features/WalletSync/components/Error/Simple.tsx +++ b/apps/ledger-live-mobile/src/newArch/features/WalletSync/components/Error/Simple.tsx @@ -32,7 +32,7 @@ export function ErrorComponent({ title, desc, info, mainButton, analyticsPage }: )} {info && - (info instanceof String ? ( + (typeof info === "string" || info instanceof String ? ( {info}