u
This commit is contained in:
@@ -5,7 +5,6 @@ import companyAutomat from './companyAutomat';
|
||||
import {
|
||||
parseCategoryTreeResponse,
|
||||
normalizeCategoryNode,
|
||||
getCategoryBreadcrumbs,
|
||||
getCategoryChildren,
|
||||
cleanCategorySlugPath,
|
||||
resolveCategoryIdFromSlugPath,
|
||||
@@ -94,7 +93,7 @@ function refreshLoadedCategoryViewChildren(categories) {
|
||||
* Get or create a per-route category view automat for the given slug and categoryId.
|
||||
* (Backward compatibility helper)
|
||||
*/
|
||||
export function getOrCreateCategoryAutomat({ slugPath, categoryId }) {
|
||||
export function getOrCreateCategoryAutomat({ slugPath }) {
|
||||
const slug = cleanCategorySlugPath(slugPath);
|
||||
return categoryViews.key(slug);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user