diff --git a/src/components/auth/login-form.tsx b/src/components/auth/login-form.tsx index 8764756..f93cfe2 100644 --- a/src/components/auth/login-form.tsx +++ b/src/components/auth/login-form.tsx @@ -5,7 +5,7 @@ import { signIn } from 'next-auth/react'; import Button from '@design-system/button/Button'; import { SiGithub } from '@icons-pack/react-simple-icons'; -export function LoginForm({ showTitle = true, showFooter = true }: { showTitle: boolean; showFooter?: boolean }) { +export function LoginForm({ showTitle = true, showFooter = true }: { showTitle?: boolean; showFooter?: boolean }) { return (
diff --git a/src/components/pokemon/PokemonList.tsx b/src/components/pokemon/PokemonList.tsx deleted file mode 100644 index 4486ef0..0000000 --- a/src/components/pokemon/PokemonList.tsx +++ /dev/null @@ -1,16 +0,0 @@ -'use client'; - -import { usePokemonListQuery } from '#/state/queries/pokemon'; - -export function PokemonList() { - const { data, isLoading, error } = usePokemonListQuery(); - - if (isLoading) return
Loading...
; - if (error) return
Error: {error.message}
; - - return ( -
-
    {data?.results?.map((pokemon) =>
  • {pokemon.name}
  • )}
-
- ); -}