Skip to content

Commit

Permalink
Merge pull request #8066 from LedgerHQ/bugfix/llm-ledger-sync-error-t…
Browse files Browse the repository at this point in the history
…ext-string

LLM - Fixed Ledger Sync Sentry Error
  • Loading branch information
cgrellard-ledger authored Oct 10, 2024
2 parents d0eec9f + 462dbf1 commit eefb8ed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/thin-timers-beg.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"live-mobile": patch
---

LLM - Fix ledger sync error : Text strings must be rendered within a <Text> component.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export function ErrorComponent({ title, desc, info, mainButton, analyticsPage }:
</Text>
)}
{info &&
(info instanceof String ? (
(typeof info === "string" || info instanceof String ? (
<Text variant="bodyLineHeight" color="neutral.c70" textAlign="center" mt={4}>
{info}
</Text>
Expand Down

0 comments on commit eefb8ed

Please sign in to comment.