Skip to content

Commit 8bb8cdb

Browse files
committed
fix: remove unnecessary error check for courseDetails in ScheduleAndDetails component
1 parent 3f5a3dd commit 8bb8cdb

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
@@ -145,7 +145,7 @@ const ScheduleAndDetails = () => {
145145
return <></>;
146146
}
147147

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

0 commit comments

Comments
 (0)