feature/IO-3255-simplified-parts-management - Cleanup
This commit is contained in:
@@ -68,9 +68,9 @@ export function App({
|
||||
|
||||
useEffect(() => {
|
||||
const pathname = window.location.pathname;
|
||||
const isParts = pathname === "/parts" || pathname.startsWith("/parts/") || bodyshop?.external_shop_id;
|
||||
const isParts = pathname === "/parts" || pathname.startsWith("/parts/");
|
||||
setIsPartsEntry(isParts);
|
||||
}, [setIsPartsEntry, bodyshop?.external_shop_id]);
|
||||
}, [setIsPartsEntry]);
|
||||
|
||||
//const b = Grid.useBreakpoint();
|
||||
// console.log("Breakpoints:", b);
|
||||
|
||||
Reference in New Issue
Block a user