Skip to content

Commit

Permalink
Deleted styles LinkContainer
Browse files Browse the repository at this point in the history
  • Loading branch information
Chelakhovl committed Dec 27, 2024
1 parent ff89dae commit b77a8e3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions FrontEnd/src/pages/TextRenderingComponents/LinkContainer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@ import { NavLink } from 'react-router-dom';

const LinkContainer = () => {
const getClassName = ({ isActive }) =>
isActive ? styles['link_text__active'] : styles['link_text'];
isActive ? 'link_text__active' : 'link_text';

return (
<div className={styles['link']}>
<div className="link">
<NavLink to="/privacy-policy/" className={getClassName}>
Політика конфіденційності
</NavLink>
<NavLink to="/terms-and-conditions/" className={getClassName}>
Умови користування
</NavLink>
<NavLink to="/contact/" className={getClassName}>
Зворотній зв&apos;язок
Зворотній зв'язок

Check failure on line 16 in FrontEnd/src/pages/TextRenderingComponents/LinkContainer.jsx

View workflow job for this annotation

GitHub Actions / Linting

`'` can be escaped with `&apos;`, `&lsquo;`, `&#39;`, `&rsquo;`
</NavLink>
</div>
);
Expand Down

0 comments on commit b77a8e3

Please sign in to comment.