Skip to content

Commit 37598e4

Browse files
committed
fix: Inline app install not working [LIVE-2851]
1 parent e65c4d1 commit 37598e4

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.changeset/hot-avocados-dream.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"live-mobile": patch
3+
---
4+
5+
fix: Inline app install not working [LIVE-2851]

apps/ledger-live-mobile/src/components/BottomModal.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const BottomModal = ({
3232
const [open, setIsOpen] = useState(false);
3333
const modalLock = useSelector(isModalLockedSelector);
3434

35-
// workarround to make sure no double modal can be opened at same time
35+
// workaround to make sure no double modal can be opened at same time
3636
useEffect(
3737
() => () => {
3838
isModalOpenedref = false;
@@ -48,7 +48,7 @@ const BottomModal = ({
4848
}
4949
isModalOpenedref = isOpened;
5050
// eslint-disable-next-line react-hooks/exhaustive-deps
51-
}, [isOpened, modalLock]); // do not add onClose it might cause some issues on modals ie: filter manager modal
51+
}, [isOpened]); // do not add onClose it might cause some issues on modals ie: filter manager modal
5252

5353
const handleClose = useCallback(() => {
5454
if (modalLock) return;

0 commit comments

Comments
 (0)