diff --git a/apps/app/src/pages/search/[...params]/index.tsx b/apps/app/src/pages/search/[...params]/index.tsx index c061ab5f5e..4a4d1fb0df 100644 --- a/apps/app/src/pages/search/[...params]/index.tsx +++ b/apps/app/src/pages/search/[...params]/index.tsx @@ -1,6 +1,5 @@ /* eslint-disable i18next/no-literal-string */ import { - Box, createStyles, Divider, Grid, @@ -16,9 +15,9 @@ import compare from 'just-compare' import dynamic from 'next/dynamic' import Head from 'next/head' import { useRouter } from 'next/router' -import { i18n, Trans, useTranslation } from 'next-i18next' +import { useTranslation } from 'next-i18next' import { type GetServerSideProps } from 'nextjs-routes' -import { type JSX, memo, useCallback, useEffect, useMemo, useState } from 'react' +import { type JSX, memo, useEffect, useMemo, useState } from 'react' import { z } from 'zod' import { SearchParamsSchema } from '@weareinreach/api/schemas/routes/search' @@ -34,7 +33,6 @@ import { useSearchState } from '@weareinreach/ui/hooks/useSearchState' import { api } from '~app/utils/api' import { getSearchResultPageCount, SEARCH_RESULT_PAGE_SIZE } from '~app/utils/constants' import { getServerSideTranslations } from '~app/utils/i18n' -import { Link } from '~ui/components/core/Link' const MoreFilter = dynamic(() => import('@weareinreach/ui/modals/MoreFilter').then((mod) => mod.MoreFilter)) const ServiceFilter = dynamic(() => diff --git a/packages/db/lib/generateFreeText.ts b/packages/db/lib/generateFreeText.ts index 97b40cae15..0dd60d84a5 100644 --- a/packages/db/lib/generateFreeText.ts +++ b/packages/db/lib/generateFreeText.ts @@ -64,19 +64,6 @@ export const generateFreeText = (args: GenerateF } } -interface GenerateFreeTextReturn { - translationKey: { - key: string - text: string - ns: string - crowdinId?: number - } - freeText: { - key: string - ns: string - id: string - } -} export const generateNestedFreeText = ( args: GenerateFreeTextParams ): NestedCreateOne => { diff --git a/packages/ui/components/core/LocationBasedAlertBanner/index.tsx b/packages/ui/components/core/LocationBasedAlertBanner/index.tsx index 9e63cf4bc1..ceb24d9248 100644 --- a/packages/ui/components/core/LocationBasedAlertBanner/index.tsx +++ b/packages/ui/components/core/LocationBasedAlertBanner/index.tsx @@ -1,7 +1,6 @@ import { Box, createStyles, rem, Text } from '@mantine/core' import { Trans } from 'next-i18next' -import { type ApiOutput } from '@weareinreach/api' import { Link } from '~ui/components/core/Link' import { useCustomVariant } from '~ui/hooks/useCustomVariant' import { trpc as api } from '~ui/lib/trpcClient'