✏️(frontend) remove key from Trans component

We remove the key from the Trans componant
to make it easier to translate.
This commit is contained in:
Anthony LC
2025-07-09 10:54:47 +02:00
parent 377d4e8971
commit d15285d385

View File

@@ -98,14 +98,12 @@ export const ModalRemoveDoc = ({
className="--docs--modal-remove-doc"
>
{!isError && (
<>
<Text $size="sm" $variation="600" $display="inline-block">
<Trans t={t} i18nKey="modal-remove-doc">
This document and <strong>any sub-documents</strong> will be
permanently deleted. This action is irreversible.
</Trans>
</Text>
</>
<Text $size="sm" $variation="600" $display="inline-block">
<Trans t={t}>
This document and <strong>any sub-documents</strong> will be
permanently deleted. This action is irreversible.
</Trans>
</Text>
)}
{isError && <TextErrors causes={error.cause} />}