Skip to content

Commit

Permalink
fix(web): remove const export
Browse files Browse the repository at this point in the history
  • Loading branch information
ojpbarbosa committed Oct 9, 2023
1 parent aee3989 commit 4c0f8bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion web/app/search/components/search-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ import { Button } from '@/components/ui/button'
import { cn } from '@/library/utilities'
import type { PredictedMetadata } from '@/library/api'
import { api, type SearchResult } from '@/library/api'
import { RELATED_QUERIES } from '../page'

const RELATED_QUERIES = 3

const formSchema = z.object({
query: z
Expand Down
2 changes: 1 addition & 1 deletion web/app/search/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { api } from '@/library/api'
import Loading from './components/loading'
import Results from './components/results'

export const RELATED_QUERIES = 3
const RELATED_QUERIES = 3

export default function Search({
searchParams
Expand Down

0 comments on commit 4c0f8bc

Please sign in to comment.