Fix broken course url
This commit is contained in:
1 parent
d87ea1c972
commit
91cfa88b3d
2 files changed
+2
-2
No files matched your search
@@ -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