diff --git a/app/[locale]/apps/components/list/List.tsx b/app/[locale]/apps/components/list/List.tsx index 5ee19aa..535f7dc 100644 --- a/app/[locale]/apps/components/list/List.tsx +++ b/app/[locale]/apps/components/list/List.tsx @@ -1,20 +1,30 @@ +'use client' + import { Children, HTMLProps } from 'react' import ListItem from './ListItem' import { IHubAppAddeds } from '@/app/headless/thegraph/entities/app/types' +import { useI18n } from '@/locales/client' export type ListProps = HTMLProps & { apps: IHubAppAddeds[] } export const List = ({ apps, ...props }: ListProps) => { + const t = useI18n() return ( ) diff --git a/locales/en.ts b/locales/en.ts index 12443fb..aeec5a1 100644 --- a/locales/en.ts +++ b/locales/en.ts @@ -5,7 +5,8 @@ const en = { } }, FEEDBACK: { - NOT_ALLOWED: 'Not allowed' + NOT_ALLOWED: 'Not allowed', + NO_APPS_FOUND: 'No apps found' }, LANGUAGE: { TITLE: 'Language' diff --git a/locales/pt.ts b/locales/pt.ts index 289214a..6d99d97 100644 --- a/locales/pt.ts +++ b/locales/pt.ts @@ -5,7 +5,8 @@ const pt = { } }, FEEDBACK: { - NOT_ALLOWED: 'Não permitido' + NOT_ALLOWED: 'Não permitido', + NO_APPS_FOUND: 'Nenhum app encontrado' }, LANGUAGE: { TITLE: 'Idioma'