From 024942f06f60f60bd5c87e1d0509b97fcf51ba93 Mon Sep 17 00:00:00 2001 From: Silberengel Date: Thu, 11 Dec 2025 00:06:53 +0100 Subject: [PATCH] get rid of bible links for normal books --- src/components/Bookstr/BookstrContent.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/components/Bookstr/BookstrContent.tsx b/src/components/Bookstr/BookstrContent.tsx index caf1045..80152eb 100644 --- a/src/components/Bookstr/BookstrContent.tsx +++ b/src/components/Bookstr/BookstrContent.tsx @@ -208,9 +208,12 @@ function buildExternalUrl(reference: BookReference, bookType: string, version?: return buildSefariaUrl(reference) } else if (bookType === 'quran') { return buildQuranComUrl(reference) - } else { - // Default to Bible Gateway for bible and other types + } else if (bookType === 'bible') { + // Only build Bible Gateway URL for bible type return buildBibleGatewayUrl(reference, version) + } else { + // For other types (like 'book'), return null - no external link + return null } }