forked from Kieran/snort
chore: formatting
This commit is contained in:
parent
930b493a12
commit
0ebd2f167a
@ -11,11 +11,13 @@ import AsyncButton from "Element/AsyncButton";
|
||||
|
||||
import messages from "./messages";
|
||||
|
||||
const Blasters = [
|
||||
"wss://nostr.mutinywallet.com"
|
||||
];
|
||||
const Blasters = ["wss://nostr.mutinywallet.com"];
|
||||
|
||||
export async function saveRelays(system: SystemInterface, publisher: EventPublisher | undefined, relays: Array<FullRelaySettings> | Record<string, RelaySettings>) {
|
||||
export async function saveRelays(
|
||||
system: SystemInterface,
|
||||
publisher: EventPublisher | undefined,
|
||||
relays: Array<FullRelaySettings> | Record<string, RelaySettings>,
|
||||
) {
|
||||
if (publisher) {
|
||||
const ev = await publisher.relayList(relays);
|
||||
await system.BroadcastEvent(ev);
|
||||
@ -33,7 +35,6 @@ const RelaySettingsPage = () => {
|
||||
return system.Sockets.filter(a => relays.item[a.address] === undefined);
|
||||
}, [relays]);
|
||||
|
||||
|
||||
const handleNewRelayChange = (event: React.ChangeEvent<HTMLInputElement>) => {
|
||||
const inputValue = event.target.value;
|
||||
const protocol = window.location.protocol;
|
||||
|
Loading…
Reference in New Issue
Block a user