feat(frontend): locale for dates and tooltip for copy link button (#492)
* Add tooltip for copy button * Set locale globally for moment.js * format * remove debugging log * refactor: rename translation key --------- Co-authored-by: Elias Schneider <login@eliasschneider.com>
This commit is contained in:
@@ -83,7 +83,7 @@ const CreateEnableTotpModal = ({
|
||||
</span>
|
||||
</Center>
|
||||
|
||||
<Tooltip label={t("account.modal.totp.clickToCopy")}>
|
||||
<Tooltip label={t("common.button.clickToCopy")}>
|
||||
<Button
|
||||
onClick={() => {
|
||||
navigator.clipboard.writeText(options.secret);
|
||||
|
||||
Reference in New Issue
Block a user