File tree Expand file tree Collapse file tree
src/sections/Learn/Workshop-grid Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -124,21 +124,9 @@ const WorkshopsPage = () => {
124124 </ div >
125125 < div className = { content && ID === id ? "linkAndReadBtns-open" : "linkAndReadBtns" } >
126126 < div className = "expand" >
127- { content && ID === id ? (
128- < button
129- onClick = { ( ) => toggleActive ( id ) }
130- className = "readmeBtn"
131- >
132- Read Less < BsArrowUp className = "icon" size = { 30 } />
133- </ button >
134- ) : (
135- < button
136- onClick = { ( ) => toggleActive ( id ) }
137- className = "readmeBtn readmreBtn"
138- >
139- Read More < BsArrowDown className = "icon" size = { 30 } />
140- </ button >
141- ) }
127+ { content && ID === id ?
128+ < button onClick = { ( ) => toggleActive ( id ) } className = "readmeBtn" > Read Less < BsArrowUp className = "icon" size = { 30 } /> </ button > :
129+ < button onClick = { ( ) => toggleActive ( id ) } className = "readmeBtn readmreBtn" > Read More < BsArrowDown className = "icon" size = { 30 } /> </ button > }
142130 </ div >
143131
144132 < div className = "externalLink" >
You can’t perform that action at this time.
0 commit comments