Skip to content

Commit

Permalink
Merge branch 'teal/main-menu-hover-state' of https://github.com/airby…
Browse files Browse the repository at this point in the history
…tehq/airbyte into teal/main-menu-hover-state
  • Loading branch information
teallarson committed Jun 30, 2022
2 parents 38a39a3 + e9d9b44 commit 423f671
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ const SideBar: React.FC = () => {
const { location } = useRouter();

const menuItemStyle = (isActive: boolean) => {
console.log(isActive);
const isChild = location.pathname.split("/").length > 4 && !location.pathname.includes("settings");
return classnames(styles.menuItem, { [styles.active]: isActive, [styles.activeChild]: isChild && isActive });
};
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@forward "../../../../../views/layout/SideBar/SideBar.module.scss";
1 change: 0 additions & 1 deletion airbyte-webapp/src/views/layout/SideBar/SideBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ const SideBar: React.FC = () => {
const isChild = location.pathname.split("/").length > 4 && !location.pathname.includes("settings");
return classnames(styles.menuItem, { [styles.active]: isActive, [styles.activeChild]: isChild && isActive });
};
console.log("ok");
return (
<Bar>
<div>
Expand Down

0 comments on commit 423f671

Please sign in to comment.