Skip to content

Commit

Permalink
Fix broken course url
Browse files Browse the repository at this point in the history
  • Loading branch information
kamranahmedse committed Jan 29, 2025
1 parent d87ea1c commit 91cfa88
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/SQLCourse/AccountButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/components/SQLCourse/BuyButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 91cfa88

Please sign in to comment.