Skip to content

Commit

Permalink
review
Browse files Browse the repository at this point in the history
  • Loading branch information
Luxshan2000 committed Sep 29, 2023
1 parent dc98a57 commit 254dc0c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions webapp/src/components/HeadingComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ function HeadingComponent({heading}) {
style={{cursor:'pointer'}}
data-bs-toggle="collapse"
onClick={()=>setToggle(prv=>!prv)}
data-bs-target={`#${heading.id}`}
data-bs-target={`#id${heading.id}`}
aria-expanded={toggle}
aria-controls={`${heading.id}`}>
aria-controls={`id${heading.id}`}>
<div className=' text-start row pe-2'>
<h5 className=' col-11 CourseHeading'>
{heading.name}
Expand All @@ -27,7 +27,7 @@ function HeadingComponent({heading}) {

</div>
</div>
<div className="collapse" id={`${heading.id}`}>
<div className="collapse" id={`id${heading.id}`}>
<hr className=' hrFirst mt-0 m-1'/>
<div className='rounded-3 mb-3 p-3 pb-0 '>
<div className='text-start mb-3 p-1'>
Expand Down

0 comments on commit 254dc0c

Please sign in to comment.