Skip to content

Commit 619d376

Browse files
Merge branch 'feat/create-user-passkey-hook' into feat/passkey-management-components
2 parents 528340f + 4d00748 commit 619d376

2 files changed

Lines changed: 0 additions & 23 deletions

File tree

packages/core/src/i18n/custom-messages/my-account/passkey/passkey-types.ts

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,6 @@
44
* @internal
55
*/
66

7-
/**
8-
* Interface for passkey messages that can be used in the UI.
9-
*/
10-
export interface PasskeyRenameModalMessages {
11-
title?: string;
12-
label?: string;
13-
placeholder?: string;
14-
cancel?: string;
15-
update?: string;
16-
}
17-
187
export interface PasskeyRevokeModalMessages {
198
title?: string;
209
consent?: string;
@@ -35,16 +24,13 @@ export interface PasskeyMessages {
3524
no_passkeys?: string;
3625
add_passkey?: string;
3726
actions?: {
38-
rename?: string;
3927
revoke?: string;
4028
};
4129
success?: {
4230
add?: string;
43-
rename?: string;
4431
revoke?: string;
4532
};
4633
modals?: {
47-
rename?: PasskeyRenameModalMessages;
4834
revoke?: PasskeyRevokeModalMessages;
4935
};
5036
}

packages/core/src/i18n/translations/en-US.json

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1203,22 +1203,13 @@
12031203
"no_passkeys": "No passkeys have been added to your account.",
12041204
"add_passkey": "Add passkey",
12051205
"actions": {
1206-
"rename": "Rename",
12071206
"revoke": "Revoke"
12081207
},
12091208
"success": {
12101209
"add": "Passkey added successfully.",
1211-
"rename": "Passkey renamed successfully.",
12121210
"revoke": "Passkey revoked successfully."
12131211
},
12141212
"modals": {
1215-
"rename": {
1216-
"title": "Rename passkey",
1217-
"label": "Passkey name",
1218-
"placeholder": "Enter passkey name",
1219-
"cancel": "Cancel",
1220-
"update": "Update Passkey"
1221-
},
12221213
"revoke": {
12231214
"title": "Revoke passkey",
12241215
"consent": "This will revoke the passkey - <bold>${name}</bold> from your account.",

0 commit comments

Comments
 (0)