diff --git a/src/components/Button/Button.tsx b/src/components/Button/Button.tsx index 98c618e..474d8e3 100644 --- a/src/components/Button/Button.tsx +++ b/src/components/Button/Button.tsx @@ -38,9 +38,6 @@ export const Button: React.FC & ButtonExtentions = ({ children, ...props }) => { - console.log( - React.isValidElement(children) && React.Children.only(children).type - ); const isOnlyIcon = children && React.isValidElement(children) && @@ -51,11 +48,11 @@ export const Button: React.FC & ButtonExtentions = ({ return ( , - , - ] - : [ - , - - , - ]} - {/* Burger component will be shown for the small screens */} - - - - ); -}; - -export default Header; diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx index 81fc892..12da354 100644 --- a/src/components/Navbar.tsx +++ b/src/components/Navbar.tsx @@ -5,8 +5,8 @@ import classNames from "classnames"; /* -------------------------------------------------------------------------- */ /* Components */ /* -------------------------------------------------------------------------- */ -import ContextMenuAction from "./ContextMenuAction"; -import ContextMenu from "./ContextMenu"; +import ContextMenuAction from "./drop-down-menu/ContextMenuAction"; +import ContextMenu from "./drop-down-menu/ContextMenu"; import { Button } from "./Button/Button"; /* -------------------------------------------------------------------------- */ diff --git a/src/components/Page.tsx b/src/components/Page.tsx index 09517d1..9b07b39 100644 --- a/src/components/Page.tsx +++ b/src/components/Page.tsx @@ -26,7 +26,7 @@ const Page = ({ title, withOutlet, children, activePath }: Props) => { return (
-
+
); -} +}; + +export default Header;