Skip to content

Commit

Permalink
chore: Thunk test (remove this)
Browse files Browse the repository at this point in the history
  • Loading branch information
rijuma committed Oct 11, 2023
1 parent 84cc806 commit a9e5604
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/course-home/data/thunks.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import {
postDismissWelcomeMessage,
postRequestCert,
getLiveTabIframe,
getCoursewareSearchEnabledFlag,
} from './api';

import {
Expand Down Expand Up @@ -54,15 +53,6 @@ export function fetchTab(courseId, tab, getTabData, targetUserId) {
}));
}

const { enabled } = await getCoursewareSearchEnabledFlag(courseId);
dispatch(addModel({
modelType: 'coursewareSearch',
model: {
id: courseId,
enabled,
},
}));

// Disable the access-denied path for now - it caused a regression
if (!courseHomeCourseMetadata.courseAccess.hasAccess) {
dispatch(fetchTabDenied({ courseId }));
Expand Down

0 comments on commit a9e5604

Please sign in to comment.