@@ -9,7 +9,7 @@ import { useSearchParams } from 'react-router-dom';
99import { getConfig } from '@edx/frontend-platform' ;
1010import { useIntl } from '@edx/frontend-platform/i18n' ;
1111import {
12- Bubble , Button , Hyperlink , Icon , IconButton , OverlayTrigger , Popover ,
12+ Bubble , Hyperlink , Icon , IconButton , OverlayTrigger , Popover ,
1313} from '@openedx/paragon' ;
1414import { NotificationsNone , Settings } from '@openedx/paragon/icons' ;
1515import { RequestStatus } from './data/constants' ;
@@ -81,10 +81,6 @@ const Notifications = ({ notificationAppData, margins }) => {
8181 } ;
8282 } , [ handleClickOutsideNotificationTray ] ) ;
8383
84- const enableFeedback = useCallback ( ( ) => {
85- window . usabilla_live ( 'click' ) ;
86- } , [ ] ) ;
87-
8884 const notificationRefs = useMemo (
8985 ( ) => ( { popoverHeaderRef : headerRef , notificationRef : popoverRef } ) ,
9086 [ headerRef , popoverRef ] ,
@@ -166,15 +162,6 @@ const Notifications = ({ notificationAppData, margins }) => {
166162 < NotificationTabs />
167163 </ NotificationPopoverContext . Provider >
168164 </ Popover . Content >
169- { getConfig ( ) . NOTIFICATION_FEEDBACK_URL && (
170- < Button
171- onClick = { enableFeedback }
172- variant = "warning"
173- className = "notification-feedback-widget"
174- >
175- { intl . formatMessage ( messages . feedback ) }
176- </ Button >
177- ) }
178165 </ div >
179166 </ Popover >
180167 ) }
0 commit comments