diff --git a/src/components/HighlightItem.tsx b/src/components/HighlightItem.tsx index b7b9bb75..67db5cd4 100644 --- a/src/components/HighlightItem.tsx +++ b/src/components/HighlightItem.tsx @@ -324,9 +324,6 @@ export const HighlightItem: React.FC = ({ // If isLocalOnly is true (from any fallback), show airplane icon if (isLocalOnly === true) { - const relayNames = publishedRelays.length > 0 - ? publishedRelays.map(url => url.replace(/^wss?:\/\//, '').replace(/\/$/, '')) - : [] return { icon: faPlane, tooltip: publishedRelays.length > 0 diff --git a/src/services/highlightCreationService.ts b/src/services/highlightCreationService.ts index 0e6a94d0..26b785f4 100644 --- a/src/services/highlightCreationService.ts +++ b/src/services/highlightCreationService.ts @@ -156,10 +156,6 @@ export async function createHighlight( .filter(response => response.ok) .map(response => response.from) - const failedRelays = publishResponses - .filter(response => !response.ok) - .map(response => ({ from: response.from, message: response.message })) - const successfulLocalRelays = successfulRelays.filter(url => isLocalRelay(url)) const successfulRemoteRelays = successfulRelays.filter(url => !isLocalRelay(url))