From c8ede18608adb59b89ee8cca5bb2e27656a13a9e Mon Sep 17 00:00:00 2001 From: Mike Fix Date: Sun, 5 Apr 2020 17:31:59 -0700 Subject: [PATCH] disable announcement --- components/Announcement.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/Announcement.js b/components/Announcement.js index c2b382c..e014480 100644 --- a/components/Announcement.js +++ b/components/Announcement.js @@ -1,7 +1,7 @@ import React from 'react' // Feature flag -const ACTIVE = true +const ACTIVE = false const key = 'CARBON_CTA_3' @@ -10,6 +10,7 @@ function Toast() { React.useEffect(() => { window.localStorage.removeItem('CARBON_CTA_2') + window.localStorage.removeItem('CARBON_CTA_3') if (!window.localStorage.getItem(key)) { setState(true) }