Not all courses have a "Summarized Review". When there is no review, the title should not be shown for a cleaner look.
Implementation
This should be as simple as doing a conditional render in JSX with the length of the additionalInfo.reviews. Thus, the title is not shown if no "summarized review" exists, making the overall look and feel of the website cleaner.
File: pages/Courses.tsx
An alternate implementation would be to just have a default value of "No summarized review available".
A super small fix for a slightly cleaner look.
Summary
Implementation
This should be as simple as doing a conditional render in JSX with the length of the
additionalInfo.reviews
. Thus, the title is not shown if no "summarized review" exists, making the overall look and feel of the website cleaner.File:
pages/Courses.tsx
An alternate implementation would be to just have a default value of "No summarized review available".