From 12c1df231506058166c1fd9ab5dcb9d2688a0875 Mon Sep 17 00:00:00 2001 From: jessop Date: Sat, 22 Feb 2020 00:42:03 -0500 Subject: [PATCH] no nag on embeds / auth verify --- ui/component/app/view.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/component/app/view.jsx b/ui/component/app/view.jsx index 76e45d345..40b0b002d 100644 --- a/ui/component/app/view.jsx +++ b/ui/component/app/view.jsx @@ -112,6 +112,7 @@ function App(props: Props) { uri = newpath + hash; } catch (e) {} + const noNagOnPage = pathname.startsWith(`/$/${PAGES.EMBED}`) || pathname.startsWith(`/$/${PAGES.AUTH_VERIFY}`); // @if TARGET='web' function handleAnalyticsDismiss() { setShowAnalyticsNag(false); @@ -249,7 +250,7 @@ function App(props: Props) { )} {/* @endif */} {/* @if TARGET='web' */} - {showAnalyticsNag && ( + {showAnalyticsNag && !noNagOnPage && ( {isMobile ? (