diff options
Diffstat (limited to 'client/src/components/Header/Header.jsx')
-rw-r--r-- | client/src/components/Header/Header.jsx | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/client/src/components/Header/Header.jsx b/client/src/components/Header/Header.jsx deleted file mode 100644 index 9682104..0000000 --- a/client/src/components/Header/Header.jsx +++ /dev/null @@ -1,25 +0,0 @@ -import React from "react"; -import { Link } from "react-router-dom"; -import { SUPPORTED_LANGUAGES } from "../../utils/constants"; -import styles from "./Header.module.css"; -import CustomSelect from "../CustomSelect/CustomSelect"; - -const Header = ({ isSelectVisible, onLanguageChange }) => { - return ( - <div className={styles.header}> - <Link to="/"> - <h1> - <span className={styles.header__mini}>mini</span>bin - </h1> - </Link> - {isSelectVisible && ( - <CustomSelect - options={SUPPORTED_LANGUAGES} - onSelect={onLanguageChange} - /> - )} - </div> - ); -}; - -export default Header; |