const getPartsBasePath = (isPartsEntry) => { return isPartsEntry ? "/parts" : "/manage"; }; export default getPartsBasePath;