-
Notifications
You must be signed in to change notification settings - Fork 315
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
5 changed files
with
25 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"ledger-live-desktop": patch | ||
--- | ||
|
||
Disable Storyly on LLD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 14 additions & 15 deletions
29
apps/ledger-live-desktop/src/renderer/hooks/useStoryly.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,18 @@ | ||
import { useEffect } from "react"; | ||
|
||
function useStoryly() { | ||
useEffect(() => { | ||
const script = document.createElement("script"); | ||
|
||
script.src = "https://web-story.storyly.io/v2/storyly-web.js"; | ||
script["custom-element"] = "storyly-web"; | ||
script.async = true; | ||
|
||
document.body.appendChild(script); | ||
|
||
return () => { | ||
document.body.removeChild(script); | ||
}; | ||
}, []); | ||
/** | ||
* Disabled for now, until we have a better solution without a remote script loading | ||
* (Storyly team is working on a package) | ||
*/ | ||
// useEffect(() => { | ||
// const script = document.createElement("script"); | ||
// script.src = "https://web-story.storyly.io/v2/storyly-web.js"; | ||
// script["custom-element"] = "storyly-web"; | ||
// script.async = true; | ||
// document.body.appendChild(script); | ||
// return () => { | ||
// document.body.removeChild(script); | ||
// }; | ||
// }, []); | ||
} | ||
|
||
export default useStoryly; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
59bbf85
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[Bot] non-reg on develop with 'Phosphore' ✅ 98 txs ❌ 17 txs 💰 5 miss funds ($377.72) ⏲ 45min 9s
1 critical spec errors
Spec Litecoin failed!
❌ 17 mutation errors
Portfolio ($377.72) – Details of the 42 currencies
32PI2C5HLHMVUF5KMNURLGCTYVIOVJJ2NLHLZ2PIMK567MKMS4RXBSVWQI
bc1q6xkeu8v5qnn4qjmr3rfz5ajqakfq0ckph74ejs
tb1qk7uh6m0fed20amhaxvfx55yr2a5mtqpndhhhm3
qr722l8tl45ptcmz3nkxdtga9fgfa08xryxj24ht4z
APvrPvLPKyvdXSTGDB7zfysFVuAV5kit5E
XxrfXsJkqPJRHkzsfzKYb8RQcLm39AfgdB
dgb1qzs5vxzvepnha3y0xcjw7vlw0777w5p5d728k32
DSEoSvPRB5rLoFsJ55wW1w3N5JASZ2xq3c
RXCF9W1MGxaMoBPoVM18dfVi99u84JfAvF
ltc1qtxpamh4gjtyzg39aclmccjtczft7x53tcwdut4
PXpjAfZqJoGDf64c4k6xomQo2AHKdVAcz6
DEeobhbUMJGihjua23P1HSM6Qn8qPQ13hm
MGwJ81a18cDyeCsdG8t1ex56dqo3Gi1jB1
353VixL3wM5SEJZrGQcRXrspVFb74p6aXg
EQmcUL6tzHVzp2njda3B4jfQmmNnbGeQzk
t1fzcwnaugiya7xhk6ipogEbByM6FAja47G
znoGxQSWKSPLpugL35ZCec9e2hvtBhTNyxr
DskkRSHH2iKgkPH39XN2ncr7RYdnzpEoxgG
addr1qxjj6j7zegvgd60w6v28l944xhk5cqx098s9dhfa07lv25rrkxr0sr9fx363v03pw5cx4qumlnjrtquc0d09ny85e2ysrsxedq
0xCc7187772b999d669845d0D72660F388781575DB
cosmos1ga5n0llpm9dqmvmac92tqffrwwlhexppmts4s7
cro1hh3ygrlneu3whlsjcsa2akrwm00ujy2ggxk7v9
erd10f45c5x4997ctt5ye45vfzkvzsutwyd5rgw0zxsmneay90kyc0tq809pjy
0xa22CA840265d3C5CB1846e419B14c6a6CdD06FAB
0xa22CA840265d3C5CB1846e419B14c6a6CdD06FAB
0xa22CA840265d3C5CB1846e419B14c6a6CdD06FAB
0x556ad802f06ae3BE9fC48D4bEcDE703a9B9F7b29
0xa22CA840265d3C5CB1846e419B14c6a6CdD06FAB
0xa22CA840265d3C5CB1846e419B14c6a6CdD06FAB
0xa22CA840265d3C5CB1846e419B14c6a6CdD06FAB
0xa22CA840265d3C5CB1846e419B14c6a6CdD06FAB
0xa22CA840265d3C5CB1846e419B14c6a6CdD06FAB
0xa22CA840265d3C5CB1846e419B14c6a6CdD06FAB
f176iafb4evnhhfzd5bhdzsjbbfs5st6eb4neplki
0.0.942690
osmo1ga5n0llpm9dqmvmac92tqffrwwlhexppnsr9xv
15jLBbe9LD6VSUYFkV5Fmo5LhZU5cns9E6g8qcDv5KrKM1eP
rP8phQ7XgRozw8Wg8cTgkWPT9ZL4VDydfQ
5XD9JtUQMBrYBkqSUD9rnJcSSrADMkUuotZSwZPWM8nZ
GCXE56DP3YWR34L5OTEV6UJKXFEAGYIK7X6SAXF4ZB4VQAOH5I4ERYOP
tz1feA619tG2iPwCCUFCL72yC6bgwjDTD8FF
TRbtdwHowocq8ThZbRnTHgK4JG5sx3fFCK
Performance ⏲ 45min 9s
Time spent for each spec: (total across mutations)