Skip to content

Commit

Permalink
fix: 홈페이지 강의 오류 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
SeoJeongYeop committed Jun 12, 2023
1 parent 28b00f0 commit 402257f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion backend/backend/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
path('login/', views.LoginView.as_view(), name='github_login'),
path('login/github/callback/', views.GitHubLoginView.as_view(), name='github_login_callback'),
path('problems/', include('problems.urls')),
# path('HomePage/', include('HomePage.urls')),
path('users/', include('users.urls')),
path('codes/', include('codes.urls')),
path('boards/', include('boards.urls')),
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/pages/HomePage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ function HomePage() {
{recentLecture.map((lecture, index) => (
<Lectures
key={index}
id={lecture.id}
id={lecture.lecture_id}
youtubeLink={lecture.lecture_link}
title={lecture.lecture_title}
datetime={lecture.create_at}
Expand Down Expand Up @@ -165,7 +165,7 @@ function HomePage() {
id={lecture.lecture_id}
youtubeLink={lecture.lecture_link}
title={lecture.lecture_title}
memo={lecture.memo}
memo={lecture.memo ? lecture.memo : 'ChatGPT 한줄평이 아직 작성되지 않았습니다.'}
/>
))}
</LectureList>
Expand Down

0 comments on commit 402257f

Please sign in to comment.