Skip to content

Commit

Permalink
fix : fixing build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
fredygerman committed Oct 29, 2023
1 parent 9eba61d commit 854360f
Show file tree
Hide file tree
Showing 4 changed files with 289 additions and 164 deletions.
3 changes: 2 additions & 1 deletion app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ import { Language } from '@/types/general';
import { useSearchParams } from 'next/navigation';

export default function Home(searchParams: {
[key: string]: string | string[] | undefined;
// [key: string]: string | string[] | undefined | null | any;
searchParams: any;
}) {
const language = (searchParams?.searchParams as any)?.language || 'en';
const location =
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@types/react": "^18",
"@types/react-dom": "^18",
"autoprefixer": "^10.4.16",
"eslint": "^8",
"eslint": "^7.16.0",
"eslint-config-next": "14.0.0",
"eslint-config-prettier": "^9.0.0",
"postcss": "^8.4.31",
Expand Down
Loading

0 comments on commit 854360f

Please sign in to comment.