Skip to content

Commit c2c297c

Browse files
committed
fix: external node qrcode scan
1 parent 757edc7 commit c2c297c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/screens/Transfer/ExternalNode/Connection.tsx

+1-3
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,7 @@ const ExternalNode = ({
3636
setPort(info.port.toString());
3737
}
3838
}
39-
// onMount
40-
// eslint-disable-next-line react-hooks/exhaustive-deps
41-
}, []);
39+
}, [peer]);
4240

4341
const navigateToScanner = (): void => {
4442
navigation.navigate('Scanner');

0 commit comments

Comments
 (0)