diff --git a/apps/infoalloggi/src/components/servizio/conferma.tsx b/apps/infoalloggi/src/components/servizio/conferma.tsx
index 28e2012..dbc2098 100644
--- a/apps/infoalloggi/src/components/servizio/conferma.tsx
+++ b/apps/infoalloggi/src/components/servizio/conferma.tsx
@@ -4,15 +4,16 @@ import { LoadingPage } from "~/components/loading";
import { AllegatoIframe } from "~/components/allegato-iframe";
import { Button } from "~/components/ui/button";
import { handleDownload } from "~/hooks/filesHooks";
+import { useTranslation } from "~/providers/I18nProvider";
export const FileSection = ({ storageId }: { storageId: StorageindexId }) => {
const { data: fileInfos, isLoading } = api.storage.getStorageFromId.useQuery({
storageId,
});
const { mutateAsync: getToken } = api.storage.getStorageToken.useMutation();
-
+ const { t } = useTranslation();
if (isLoading) return
Errore nel caricamento del documento
; + if (!fileInfos) return{t.file_section.error}
; return ( <>