mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-09-09 00:30:40 +02:00
User guides listing
This commit is contained in:
@@ -89,7 +89,9 @@ export function UserCoursesList() {
|
||||
{!isAnyLoading && (
|
||||
<>
|
||||
<p className="mb-4 text-sm text-gray-500">
|
||||
You have generated {userAiCourses?.totalCount} courses so far.
|
||||
{isUserAuthenticated
|
||||
? `You have generated ${userAiCourses?.totalCount} courses so far.`
|
||||
: 'Sign up or login to generate your first course. Takes 2s to do so.'}
|
||||
</p>
|
||||
|
||||
{isUserAuthenticated && !isAnyLoading && courses.length > 0 && (
|
||||
|
@@ -90,7 +90,9 @@ export function UserGuidesList() {
|
||||
{!isAnyLoading && (
|
||||
<>
|
||||
<p className="mb-4 text-sm text-gray-500">
|
||||
You have generated {userAiGuides?.totalCount} guides so far.
|
||||
{isUserAuthenticated
|
||||
? `You have generated ${userAiGuides?.totalCount} guides so far.`
|
||||
: 'Sign up or login to generate your first guide. Takes 2s to do so.'}
|
||||
</p>
|
||||
|
||||
{isUserAuthenticated && !isAnyLoading && guides.length > 0 && (
|
||||
|
Reference in New Issue
Block a user