Skip to content

Commit

Permalink
lint js
Browse files Browse the repository at this point in the history
  • Loading branch information
ekachxaidze98 committed Mar 25, 2024
1 parent 85366ca commit a55218b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,10 @@ const DocumentationMembershipNav = ({
key={item.item}
onClick={() => handleClick(item, i)}
>
{/* eslint-disable-next-line jsx-a11y/anchor-is-valid */}
<ReactMarkdown className={styles.siderItemLink}>
{item.item}
</ReactMarkdown>
{activeItem === i || activeIndex === i ? (
// eslint-disable-next-line react/no-unescaped-entities
<span className={styles.logo}>
<Icon src="#active-arrow" />
</span>
Expand Down
26 changes: 13 additions & 13 deletions src/modules/documentation-membership/documentation-membership.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ const DocumentationMembership = ({
imageSource,
docsTitle,
mulltyDocs,
handleContentOpen,
videoIcon,
// handleContentOpen,
// videoIcon,
}) => (
<div
className={classNames.use(styles.documentationWrapper, {
Expand Down Expand Up @@ -66,18 +66,18 @@ const DocumentationMembership = ({
{value[0]}
</span>
))}
{/*{item.tutorial && (*/}
{/* // eslint-disable-next-line max-len*/}
{/* {item.tutorial && ( */}
{/* // eslint-disable-next-line max-len */}
{/* eslint-disable-next-line max-len */}
{/* // eslint-disable-next-line jsx-a11y/no-static-element-interactions,jsx-a11y/click-events-have-key-events*/}
{/* <div*/}
{/* onClick={() => handleContentOpen(item.tutorial)}*/}
{/* className={styles.tutorialWrapper}*/}
{/* >*/}
{/* {item.tutorial?.text}*/}
{/* <img src={videoIcon} alt="tutorial icon" />*/}
{/* </div>*/}
{/*)}*/}
{/* // eslint-disable-next-line jsx-a11y/no-static-element-interactions,jsx-a11y/click-events-have-key-events */}
{/* <div */}
{/* onClick={() => handleContentOpen(item.tutorial)} */}
{/* className={styles.tutorialWrapper} */}
{/* > */}
{/* {item.tutorial?.text} */}
{/* <img src={videoIcon} alt="tutorial icon" /> */}
{/* </div> */}
{/* )} */}
</div>
)}
<ReactMarkdown linkTarget="_blank" className={styles.test}>
Expand Down

0 comments on commit a55218b

Please sign in to comment.