Fix lint errors
All checks were successful
CI / Lint (pull_request) Successful in 31s
CI / Test (pull_request) Successful in 56s
Release Drafter / Update release notes draft (pull_request) Successful in 4s

This commit is contained in:
2026-06-07 16:28:09 +04:00
parent 76897c9e69
commit 504e8fab94
3 changed files with 27 additions and 8 deletions

View File

@@ -60,7 +60,9 @@ export default class AppMenuSettingsNostr extends Component {
}
get hasReadOverrides() {
return this.customReadRelays.length > 0 || this.readRelayExclusions.length > 0;
return (
this.customReadRelays.length > 0 || this.readRelayExclusions.length > 0
);
}
get hasWriteOverrides() {
@@ -106,7 +108,10 @@ export default class AppMenuSettingsNostr extends Component {
...this.customReadRelays,
url,
]);
const custom = excludeRequiredRelays(merged, this.nostrData.requiredReadRelays);
const custom = excludeRequiredRelays(
merged,
this.nostrData.requiredReadRelays
);
const readExclusions = this.readRelayExclusions.filter((relay) => {
return normalizeRelayUrl(relay) !== url;