✏️(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:
@@ -98,14 +98,12 @@ export const ModalRemoveDoc = ({
|
|||||||
className="--docs--modal-remove-doc"
|
className="--docs--modal-remove-doc"
|
||||||
>
|
>
|
||||||
{!isError && (
|
{!isError && (
|
||||||
<>
|
<Text $size="sm" $variation="600" $display="inline-block">
|
||||||
<Text $size="sm" $variation="600" $display="inline-block">
|
<Trans t={t}>
|
||||||
<Trans t={t} i18nKey="modal-remove-doc">
|
This document and <strong>any sub-documents</strong> will be
|
||||||
This document and <strong>any sub-documents</strong> will be
|
permanently deleted. This action is irreversible.
|
||||||
permanently deleted. This action is irreversible.
|
</Trans>
|
||||||
</Trans>
|
</Text>
|
||||||
</Text>
|
|
||||||
</>
|
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{isError && <TextErrors causes={error.cause} />}
|
{isError && <TextErrors causes={error.cause} />}
|
||||||
|
|||||||
Reference in New Issue
Block a user