import { CocoComponent } from "@js/coco"; import { navigateTo } from "@helpers/location"; export default CocoComponent("appSidebarNavMenu", () => { return { navigateTo(url) { if (url !== "") { navigateTo(url); } }, }; });