fix: removed role button to remove cursor pointer
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user