cartodb-4.42/lib/assets/javascripts/new-dashboard/router/routes/notifications.js
2024-04-06 05:25:13 +00:00

20 lines
414 B
JavaScript

// Hooks
import fetchNotifications from 'new-dashboard/router/hooks/fetch-notifications';
// Lazy Pages
const Notifications = () => import('new-dashboard/pages/Notifications');
const routes = [
{
path: '/notifications',
name: 'notifications',
component: Notifications,
meta: {
title: () => 'Notifications | CARTO'
},
beforeEnter: fetchNotifications
}
];
export default routes;