mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-09-25 00:21:28 +02:00
Fix broken course url
This commit is contained in:
@@ -58,7 +58,7 @@ export function AccountButton() {
|
||||
|
||||
return (
|
||||
<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`}
|
||||
>
|
||||
Start Learning
|
||||
|
@@ -101,7 +101,7 @@ export function BuyButton(props: BuyButtonProps) {
|
||||
|
||||
const hasEnrolled = !!courseProgress?.enrolledAt;
|
||||
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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user