Skip to content

Commit 827fe4a

Browse files
committed
fix(contacts): fix sheet not opening on send to contact
1 parent cb034d6 commit 827fe4a

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/screens/Contacts/Contact.tsx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ import { useBalance } from '../../hooks/wallet';
1919
import { RootStackScreenProps } from '../../navigation/types';
2020
import { contactsSelector } from '../../store/reselect/slashtags';
2121
import { isLDKReadySelector } from '../../store/reselect/ui';
22-
import { selectedNetworkSelector } from '../../store/reselect/wallet';
2322
import { deleteContact } from '../../store/slices/slashtags';
2423
import { AnimatedView, View } from '../../styles/components';
2524
import {
@@ -45,7 +44,6 @@ const Contact = ({
4544
const [loading, setLoading] = useState(false);
4645

4746
const dispatch = useAppDispatch();
48-
const selectedNetwork = useAppSelector(selectedNetworkSelector);
4947
const contacts = useAppSelector(contactsSelector);
5048
const isLDKReady = useAppSelector(isLDKReadySelector);
5149

@@ -91,11 +89,7 @@ const Contact = ({
9189
});
9290
}
9391

94-
const res = await processUri({
95-
uri: url,
96-
source: 'send',
97-
selectedNetwork,
98-
});
92+
const res = await processUri({ uri: url });
9993
setLoading(false);
10094
if (res.isOk()) {
10195
navigation.popToTop();

0 commit comments

Comments
 (0)