message: lock: info requests
diff: -import { GetServerSideProps } from 'next'
  -// import { dehydrate, QueryClient } from 'react-query'
  -import { serverSideTranslations } from 'next-i18next/serverSideTranslations'
  -
  import InfoRequestPage from 'components/admin/InfoRequestPage'
  -// import { prefetchInfoRequestList } from 'common/hooks/infoRequest'
  -// import { keycloakInstance } from 'common/util/keycloak'
  +import { securedAdminProps } from 'middleware/auth/keycloak'
  +import { endpoints } from 'service/apiEndpoints'
  -export const getServerSideProps: GetServerSideProps = async (ctx) => {
  - // const keycloak = keycloakInstance(ctx)
  - // const client = new QueryClient()
  - // await prefetchInfoRequestList(client, keycloak.token)
  - return {
  - props: {
  - ...(await serverSideTranslations(ctx.locale ?? 'bg', ['common', 'auth', 'validation'])),
  - // dehydratedState: dehydrate(client),
  - },
  - }
  -}
  +export const getServerSideProps = securedAdminProps(
  + ['common', 'auth', 'validation'],
  + () => endpoints.support.infoRequestList.url,
  +)
  export default InfoRequestPage
  