import i18next from 'i18next';

import en from './i18n/en';
import Favorites from './Favorites';

i18next.addResourceBundle('en', 'favoritesPage', en);

const FavoritesConfig = {
  settings: {
    layout: {
      config: {},
    },
  },
  routes: [
    {
      path: 'favorites',
      element: <Favorites />,
    },
  ],
};

export default FavoritesConfig;

/**
 * Lazy load Example
 */
/*
import React from 'react';

const Example = lazy(() => import('./Example'));

const ExampleConfig = {
  settings: {
    layout: {
      config: {},
    },
  },
  routes: [
    {
      path: 'example',
      element: <Example />,
    },
  ],
};

export default ExampleConfig;
*/
