Skip to content

Commit 58af835

Browse files
committed
fix: remove unnecessary error check for courseDetails in ScheduleAndDetails component
1 parent 848ee58 commit 58af835

2 files changed

Lines changed: 1 addition & 24 deletions

File tree

src/schedule-and-details/data/slice.test.js

Lines changed: 0 additions & 23 deletions
This file was deleted.

src/schedule-and-details/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ const ScheduleAndDetails = ({ courseId }) => {
143143
return <></>;
144144
}
145145

146-
if (courseDetails.isError || loadingSettingsStatus === RequestStatus.DENIED) {
146+
if (loadingSettingsStatus === RequestStatus.DENIED) {
147147
return (
148148
<div className="row justify-content-center m-6">
149149
<Placeholder />

0 commit comments

Comments
 (0)