Skip to content

Commit

Permalink
show test format
Browse files Browse the repository at this point in the history
  • Loading branch information
Bahugunajii committed Apr 2, 2024
1 parent 17d5f39 commit a645a33
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ export default function Home() {
<span className="font-semibold">{data.name}</span>
</div>
<div className="text-sm md:text-base">
<span>{data.testFormat}</span>
<span>{data.meta_data.test_format}</span>
</div>
</div>
{renderButton(data)}
Expand Down
7 changes: 2 additions & 5 deletions app/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,17 +133,14 @@ export interface QuizSession {
batch: string,
end_date: string,
end_time: string,
redirectPlatformParams: {
id: string
meta_data: {
test_format: string
}
start_date: string,
start_time: string,
name: string,
subject: string,
redirectPlatform: string,
stream: string,
id: string,
testFormat: string
}

export interface SessionSchedule {
Expand Down

0 comments on commit a645a33

Please sign in to comment.