Skip to content

Commit

Permalink
fix code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
rachellougee committed Jan 5, 2024
1 parent 7453f01 commit 00b9011
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion frontend/public/src/components/CourseProductDetailEnroll.js
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,9 @@ export class CourseProductDetailEnroll extends React.Component<
return !currentUser || !currentUser.id ? (
<h2>
<a
href={`${routes.login}?next=${encodeURIComponent(window.location.pathname)}`}
href={`${routes.login}?next=${encodeURIComponent(
window.location.pathname
)}`}
className="btn btn-primary btn-enrollment-button btn-lg btn-gradient-red highlight"
>
Enroll now
Expand Down
4 changes: 3 additions & 1 deletion frontend/public/src/components/ProgramProductDetailEnroll.js
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,9 @@ export class ProgramProductDetailEnroll extends React.Component<
<Fragment>
{currentUser && !currentUser.id ? (
<a
href={`${routes.login}?next=${encodeURIComponent(window.location.pathname)}`}
href={`${routes.login}?next=${encodeURIComponent(
window.location.pathname
)}`}
className="btn btn-primary btn-enrollment-button btn-lg btn-gradient-red highlight"
>
Enroll now
Expand Down

0 comments on commit 00b9011

Please sign in to comment.