mirror of
https://github.com/lingble/twenty.git
synced 2025-11-02 13:47:55 +00:00
Migrate to a monorepo structure (#2909)
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
import { useLocation } from 'react-router-dom';
|
||||
|
||||
export const useIsMenuNavbarDisplayed = () => {
|
||||
const currentPath = useLocation().pathname;
|
||||
return currentPath.match(/^\/companies(\/.*)?$/) !== null;
|
||||
};
|
||||
Reference in New Issue
Block a user