chore: quick fixes
All checks were successful
Open PR on Staging / audit_and_check (pull_request) Successful in 44s
All checks were successful
Open PR on Staging / audit_and_check (pull_request) Successful in 44s
This commit is contained in:
parent
14c103dd40
commit
48f85f54c8
@ -26,7 +26,7 @@ export const Counterpart = React.memo(
|
|||||||
return (
|
return (
|
||||||
<div className={styles.counterpartSelectValue}>
|
<div className={styles.counterpartSelectValue}>
|
||||||
<AvatarIconButton
|
<AvatarIconButton
|
||||||
src={profile.image}
|
src={profile?.image}
|
||||||
hexKey={signer.pubkey || undefined}
|
hexKey={signer.pubkey || undefined}
|
||||||
sx={{
|
sx={{
|
||||||
padding: 0,
|
padding: 0,
|
||||||
|
@ -472,7 +472,12 @@ export const useNDK = () => {
|
|||||||
|
|
||||||
const ndkRelayList = await getNDKRelayList(receiver)
|
const ndkRelayList = await getNDKRelayList(receiver)
|
||||||
|
|
||||||
const readRelayUrls = [...ndkRelayList.readRelayUrls]
|
const readRelayUrls: string[] = []
|
||||||
|
|
||||||
|
if (ndkRelayList?.readRelayUrls) {
|
||||||
|
readRelayUrls.push(...ndkRelayList.readRelayUrls)
|
||||||
|
}
|
||||||
|
|
||||||
if (!readRelayUrls.includes(SIGIT_RELAY)) {
|
if (!readRelayUrls.includes(SIGIT_RELAY)) {
|
||||||
readRelayUrls.push(SIGIT_RELAY)
|
readRelayUrls.push(SIGIT_RELAY)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user