forked from Kieran/snort
bug: ignore empty relay list
This commit is contained in:
parent
e830b39edf
commit
7835ad8562
@ -70,7 +70,7 @@ export default function useLoginFeed() {
|
||||
.map(a => a!);
|
||||
|
||||
for (let cl of contactList) {
|
||||
if (cl.content !== "") {
|
||||
if (cl.content !== "" && cl.content !== "{}") {
|
||||
let relays = JSON.parse(cl.content);
|
||||
dispatch(setRelays({ relays, createdAt: cl.created_at }));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user