export const getRouteToCustomer = (tabId: number | null) => {
  const path = [
    '/kunde',
    tabId,
    'customer',
    { outlets: { primary: 'search', side: 'search-customer-main' } },
  ].filter(Boolean);

  const queryParams = {
    filter_customertype: 'webshop&loyalty;loyalty&!webshop', // Filter only Customer Card Customers
  };

  return { path, queryParams };
};
