fix: removed role button to remove cursor pointer

This commit is contained in:
sundasnoreen12
2024-06-12 13:56:37 +05:00
parent f5e2fa7448
commit 4502dbe413
2 changed files with 1 additions and 18 deletions

View File

@@ -90,7 +90,6 @@ const NotificationPreferences = () => {
<NavItem
id={channel}
key={channel}
role="button"
className={classNames('mb-3 header-label column-padding', {
'pr-0': channel === NOTIFICATION_CHANNELS[NOTIFICATION_CHANNELS.length - 1],
'mr-2': channel === 'web',

View File

@@ -5,9 +5,7 @@ import { BrowserRouter as Router } from 'react-router-dom';
import * as auth from '@edx/frontend-platform/auth';
import { IntlProvider } from '@edx/frontend-platform/i18n';
import {
act, fireEvent, render, screen, waitFor, within,
} from '@testing-library/react';
import { fireEvent, render, screen } from '@testing-library/react';
import { defaultState } from './data/reducers';
import NotificationPreferences from './NotificationPreferences';
@@ -74,20 +72,6 @@ const defaultPreferences = {
},
};
const updateChannelPreferences = (toggleVal = false) => ({
preferences: [
{
id: 'core', appId: 'discussion', web: true, coreNotificationTypes: ['new_comment'],
},
{
id: 'newComment', appId: 'discussion', web: toggleVal, coreNotificationTypes: [],
},
{
id: 'newAssignment', appId: 'coursework', web: toggleVal, coreNotificationTypes: [],
},
],
});
const setupStore = (override = {}) => {
const storeState = defaultState;
storeState.courses = {