{currentCategory.name}
\n {currentCategory.description && (\n{currentCategory.description}
\n{faq.question}
\n \n >\n ))\n )}\n\n
{
"version": 3,
"sources": ["../javascripts/routes/customer-service/faq.tsx", "../javascripts/routes/customer-service/Data/useCurrentCategory.ts"],
"sourcesContent": ["import React, { useEffect, useMemo } from 'react';\nimport { Trans, useTranslation } from 'react-i18next';\nimport { useLocation, useNavigate, useParams } from 'react-router-dom';\n\nimport useIsErrorPage from '../../hooks/useIsErrorPage';\nimport { resetViewport } from '../../utils/ts/viewport';\nimport ErrorView from '../error';\nimport useCurrentCategory from './Data/useCurrentCategory';\nimport useFaqCategories from './Data/useFaqCategories';\nimport useFaqs from './Data/useFaqs';\nimport { getFaqsURLSearchParams } from './utils';\n\nimport { asHtml } from '../../helpers/markdown';\nimport { createPageTitle } from '../../helpers/text';\nimport useTrackPageView from '../../hooks/useTrackPageView';\nimport { getMarket } from '../../i18n';\nimport SchemaFaqPage from '../../structured-data/SchemaFaqPage';\nimport Alert from '../../styled-components/components/Alert';\nimport { Breadcrumb, Breadcrumbs } from '../../styled-components/components/Breadcrumbs';\nimport { RouterLink } from '../../styled-components/components/Link';\nimport Loader from '../../styled-components/components/Loader';\n\nconst resolveCustomerServiceRoute = () => {\n const { marketCode } = getMarket();\n switch (marketCode) {\n case 'NO':\n return '/kundeservice';\n default:\n return '/kundservice';\n }\n};\n\nconst Faq = () => {\n const urlParams = useParams();\n const slug = urlParams.slug;\n\n const { t } = useTranslation(['customerService', 'global', 'validation']);\n const isErrorPage = useIsErrorPage();\n if (isErrorPage) return
{currentCategory.description}
\n