Skip to content

Commit

Permalink
made enrollbutton also a tabitem
Browse files Browse the repository at this point in the history
  • Loading branch information
FeSuert committed Sep 14, 2023
1 parent 5d78387 commit c2d3be5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/example/Course_about.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ const About = () => {
{enrollMessage}
</Button>
) : (
<Button onClick={handleEnroll} id="enroll-button" disabled={enrolled}>
<Button onClick={handleEnroll} id="enroll-button" class="tabitem" disabled={enrolled}>
{enrolled ? 'You are already enrolled' : 'Enroll now'}
</Button>
)}
Expand Down

0 comments on commit c2d3be5

Please sign in to comment.