Skip to content

Commit 84fa3ce

Browse files
Merge pull request #14809 from TheRealJon/OCPBUGS-52180
OCPBUGS-52180: Fix notification drawer close button error
2 parents d38eba1 + 9c5b628 commit 84fa3ce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/public/components/notification-drawer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ export const NotificationDrawer: React.FC<NotificationDrawerProps> = ({
240240
const clusterID = getClusterID(useClusterVersion());
241241
const showServiceLevelNotification = useShowServiceLevelNotifications(clusterID);
242242
const [pluginInfoEntries] = useDynamicPluginInfo();
243-
const toggleNotificationDrawer = dispatch(UIActions.notificationDrawerToggleExpanded);
243+
const toggleNotificationDrawer = () => dispatch(UIActions.notificationDrawerToggleExpanded());
244244

245245
React.useEffect(() => {
246246
const poll: NotificationPoll = (url, key: 'notificationAlerts' | 'silences', dataHandler) => {

0 commit comments

Comments
 (0)