Skip to content

Commit

Permalink
fix(view-course): redirect to course preview
Browse files Browse the repository at this point in the history
  • Loading branch information
danilych committed Feb 13, 2024
1 parent 2ae471f commit c92b528
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/routes/courses.$course.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ export default function Course() {
useEffect(() => {
let formData = new FormData()
formData.append('CourseID', params.course as string)
formData.append('UserID', window.localStorage.getItem('userId') as string)
dispatch(fetchCourse(formData))

window.localStorage.getItem('lectureID')
Expand Down

0 comments on commit c92b528

Please sign in to comment.