diff --git a/src/features/upload-file/components/UploadShowComponent.tsx b/src/features/upload-file/components/UploadShowComponent.tsx index 834aedd..6ac4e28 100644 --- a/src/features/upload-file/components/UploadShowComponent.tsx +++ b/src/features/upload-file/components/UploadShowComponent.tsx @@ -1,15 +1,16 @@ import { FormGroup, Label } from '@adminjs/design-system' -import { ShowPropertyProps } from 'adminjs' +import { ShowPropertyProps, useTranslation } from 'adminjs' import React, { FC } from 'react' import File from './file.js' const Show: FC = (props) => { const { property } = props + const { translateProperty } = useTranslation() return ( - + )