Hide Opportunities as nothing is built yet and make company table fully editable (#109)
* Hide Opportunities as nothing is built yet and make company table fully editable * Fix tests
This commit is contained in:
@ -5,7 +5,7 @@ import { Workspace } from '../../interfaces/workspace.interface';
|
||||
import NavItem from './NavItem';
|
||||
import NavTitle from './NavTitle';
|
||||
import WorkspaceContainer from './WorkspaceContainer';
|
||||
import { FaRegUser, FaRegBuilding, FaBullseye } from 'react-icons/fa';
|
||||
import { FaRegUser, FaRegBuilding } from 'react-icons/fa';
|
||||
|
||||
const NavbarContainer = styled.div`
|
||||
display: flex;
|
||||
@ -55,17 +55,6 @@ function Navbar({ workspace }: OwnProps) {
|
||||
})
|
||||
}
|
||||
/>
|
||||
<NavItem
|
||||
label="Opportunities"
|
||||
to="/opportunities"
|
||||
icon={<FaBullseye />}
|
||||
active={
|
||||
!!useMatch({
|
||||
path: useResolvedPath('/opportunities').pathname,
|
||||
end: true,
|
||||
})
|
||||
}
|
||||
/>
|
||||
</NavItemsContainer>
|
||||
</NavbarContainer>
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user