From 8747f83408e90bbbee7e03bd153774febf05a31c Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Tue, 28 Aug 2018 09:07:13 -0500 Subject: [PATCH] revert use of const for now (wasn't working) ref #65 --- src/FilterLists.Web/ClientApp/components/Home.tsx | 7 +++---- src/FilterLists.Web/ClientApp/components/ListDetails.tsx | 7 +++---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/src/FilterLists.Web/ClientApp/components/Home.tsx b/src/FilterLists.Web/ClientApp/components/Home.tsx index 20f5ad0e7..7bb044438 100644 --- a/src/FilterLists.Web/ClientApp/components/Home.tsx +++ b/src/FilterLists.Web/ClientApp/components/Home.tsx @@ -199,7 +199,6 @@ interface IListTagDto { } function SubscribeUrl(props: any) { - const titleBase = "Subscribe to list with browser extension supporting \"abp:\" protocol (e.g. uBlock Origin, AdBlock Plus)."; return props.url.indexOf("https://") === -1 ? SubscribeUrlNotSecure() : props.url.indexOf("web.archive.org") === -1 @@ -209,7 +208,7 @@ function SubscribeUrl(props: any) { function SubscribeUrlPrimary() { return + title={`Subscribe to list with browser extension supporting \"abp:\" protocol (e.g. uBlock Origin, AdBlock Plus).`}> Subscribe ; } @@ -217,7 +216,7 @@ function SubscribeUrl(props: any) { function SubscribeUrlWayback() { return + title={`Archive.org Mirror (Original Offline) - Subscribe to list with browser extension supporting \"abp:\" protocol (e.g. uBlock Origin, AdBlock Plus).`}> Subscribe ; } @@ -225,7 +224,7 @@ function SubscribeUrl(props: any) { function SubscribeUrlNotSecure() { return + title={`Not Secure - Subscribe to list with browser extension supporting \"abp:\" protocol (e.g. uBlock Origin, AdBlock Plus).`}> Subscribe ; } diff --git a/src/FilterLists.Web/ClientApp/components/ListDetails.tsx b/src/FilterLists.Web/ClientApp/components/ListDetails.tsx index d0fd8d768..bb1e86354 100644 --- a/src/FilterLists.Web/ClientApp/components/ListDetails.tsx +++ b/src/FilterLists.Web/ClientApp/components/ListDetails.tsx @@ -168,7 +168,6 @@ function License(props: any) { } function SubscribeUrl(props: any) { - const titleBase = "Subscribe to list with browser extension supporting \"abp:\" protocol (e.g. uBlock Origin, AdBlock Plus)."; return props.url.indexOf("https://") === -1 ? SubscribeUrlNotSecure() : props.url.indexOf("web.archive.org") === -1 @@ -178,7 +177,7 @@ function SubscribeUrl(props: any) { function SubscribeUrlPrimary() { return + title={`Subscribe to list with browser extension supporting \"abp:\" protocol (e.g. uBlock Origin, AdBlock Plus).`}> Subscribe ; } @@ -186,7 +185,7 @@ function SubscribeUrl(props: any) { function SubscribeUrlWayback() { return + title={`Archive.org Mirror (Original Offline) - Subscribe to list with browser extension supporting \"abp:\" protocol (e.g. uBlock Origin, AdBlock Plus).`}> Subscribe ; } @@ -194,7 +193,7 @@ function SubscribeUrl(props: any) { function SubscribeUrlNotSecure() { return + title={`Not Secure - Subscribe to list with browser extension supporting \"abp:\" protocol (e.g. uBlock Origin, AdBlock Plus).`}> Subscribe ; }