Skip to content

Commit

Permalink
Merge pull request #585 from ohtutraininghub/470-fix-main-page
Browse files Browse the repository at this point in the history
staging test for main page fix
  • Loading branch information
akskokki authored Apr 18, 2024
2 parents 4c5a7f1 + 4245f11 commit 3686ff8
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/app/[lang]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,20 @@ export default async function HomePage({ searchParams, params }: Props) {
initialTags={tags}
lang={params.lang}
/>
<div
style={{
display: 'flex',
justifyContent: 'center',
alignItems: 'start',
flexDirection: 'column',
color: 'white',
}}
>
<h4>JSON.stringify(searchParams): {JSON.stringify(searchParams)}</h4>
<h4>courseId: {courseId}</h4>
<h4>openedCourse: {JSON.stringify(openedCourse)}</h4>
<h4>all course Ids: {courses.map((c) => c.id)}</h4>
</div>
{isTrainerOrAdmin(session.user) && <SpeedDialMenu />}
<CourseList
lang={params.lang}
Expand Down

0 comments on commit 3686ff8

Please sign in to comment.