Skip to content

Commit

Permalink
deep source updates
Browse files Browse the repository at this point in the history
  • Loading branch information
kuck1 committed Jun 12, 2024
1 parent ee042d7 commit 271dba9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 18 deletions.
6 changes: 2 additions & 4 deletions apps/app/src/pages/search/[...params]/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* eslint-disable i18next/no-literal-string */
import {
Box,
createStyles,
Divider,
Grid,
Expand All @@ -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'
Expand All @@ -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(() =>
Expand Down
13 changes: 0 additions & 13 deletions packages/db/lib/generateFreeText.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,19 +64,6 @@ export const generateFreeText = <T extends GenerateFreeTextType>(args: GenerateF
}
}

interface GenerateFreeTextReturn {
translationKey: {
key: string
text: string
ns: string
crowdinId?: number
}
freeText: {
key: string
ns: string
id: string
}
}
export const generateNestedFreeText = <T extends GenerateFreeTextType>(
args: GenerateFreeTextParams<T>
): NestedCreateOne => {
Expand Down
Original file line number Diff line number Diff line change
@@ -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'
Expand Down

0 comments on commit 271dba9

Please sign in to comment.