diff --git a/src/writeData/subscriptions/components/MqttEolAlert.tsx b/src/writeData/subscriptions/components/MqttEolAlert.tsx deleted file mode 100644 index b06ed8365d..0000000000 --- a/src/writeData/subscriptions/components/MqttEolAlert.tsx +++ /dev/null @@ -1,60 +0,0 @@ -// Libraries -import React, {FC, useEffect} from 'react' -import {useDispatch} from 'react-redux' - -// Components -import { - Alert, - Button, - FlexBox, - IconFont, - ComponentColor, - ComponentSize, -} from '@influxdata/clockface' - -// Utils -import {event} from 'src/cloud/utils/reporting' -import {showOverlay, dismissOverlay} from 'src/overlays/actions/overlays' -import {AnnouncementID} from 'src/homepageExperience/ClickThroughAnnouncementHandler' - -export const MqttEolAlert: FC = () => { - const dispatch = useDispatch() - - useEffect(() => { - event(`mqttEolAnnouncementBanner.displayed`) - }, []) - - const handleDetailsClick = () => { - event(`mqttEolAnnouncementBanner.details.clicked`) - const overlayParams = { - announcementID: AnnouncementID.MqttEol, - } - dispatch( - showOverlay('click-through-announcement', overlayParams, () => - dismissOverlay() - ) - ) - } - - return ( - - - - Important Notice: The Native Collector - MQTT feature is being - deprecated and will stop functioning on April 30th, 2024. - - -