chore: use-ndk #283
@ -26,7 +26,7 @@ export const Counterpart = React.memo(
|
||||
return (
|
||||
<div className={styles.counterpartSelectValue}>
|
||||
<AvatarIconButton
|
||||
src={profile.image}
|
||||
src={profile?.image}
|
||||
|
||||
hexKey={signer.pubkey || undefined}
|
||||
sx={{
|
||||
padding: 0,
|
||||
|
@ -472,7 +472,12 @@ export const useNDK = () => {
|
||||
|
||||
const ndkRelayList = await getNDKRelayList(receiver)
|
||||
|
||||
const readRelayUrls = [...ndkRelayList.readRelayUrls]
|
||||
const readRelayUrls: string[] = []
|
||||
|
||||
if (ndkRelayList?.readRelayUrls) {
|
||||
readRelayUrls.push(...ndkRelayList.readRelayUrls)
|
||||
}
|
||||
|
||||
if (!readRelayUrls.includes(SIGIT_RELAY)) {
|
||||
readRelayUrls.push(SIGIT_RELAY)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user
Had this error during test on Create page:
Uncaught TypeError: Cannot read properties of undefined (reading 'image')
after selectingDrawnField
rect.Steps:
Create Page
I tested multiple times and it worked every time