mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-01-30 20:57:38 +01:00
Fix broken course url
This commit is contained in:
parent
d87ea1c972
commit
91cfa88b3d
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user