mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-09-25 16:39:02 +02:00
Fix broken course url
This commit is contained in:
@@ -58,7 +58,7 @@ export function AccountButton() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<a
|
<a
|
||||||
href={`${import.meta.env.PUBLIC_COURSE_APP_URL}/sql`}
|
href={`${import.meta.env.PUBLIC_COURSE_APP_URL}/master-sql`}
|
||||||
className={`${buttonClasses} animate-fade-in`}
|
className={`${buttonClasses} animate-fade-in`}
|
||||||
>
|
>
|
||||||
Start Learning
|
Start Learning
|
||||||
|
@@ -101,7 +101,7 @@ export function BuyButton(props: BuyButtonProps) {
|
|||||||
|
|
||||||
const hasEnrolled = !!courseProgress?.enrolledAt;
|
const hasEnrolled = !!courseProgress?.enrolledAt;
|
||||||
if (hasEnrolled) {
|
if (hasEnrolled) {
|
||||||
window.location.href = `${import.meta.env.PUBLIC_COURSE_APP_URL}/sql`;
|
window.location.href = `${import.meta.env.PUBLIC_COURSE_APP_URL}/master-sql`;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user