chore: prettier cleanup

This commit is contained in:
2025-08-08 17:42:47 +03:00
parent 1e69a70ea0
commit 08894ee061
5 changed files with 41 additions and 34 deletions

View File

@@ -14,7 +14,7 @@ export function createTOTPCard({
onMoveDown,
onIssuerChange,
onClientChange,
isEditInProgress
isEditInProgress,
}) {
const infoView = View(
{
@@ -40,7 +40,7 @@ export function createTOTPCard({
color: colors.text,
borderRadius: "5px",
height: "40px",
width: "200px"
width: "200px",
},
subStyle: {
display: "none",
@@ -60,7 +60,7 @@ export function createTOTPCard({
color: colors.text,
borderRadius: "5px",
height: "40px",
width: "200px"
width: "200px",
},
subStyle: {
display: "none",
@@ -109,16 +109,17 @@ export function createTOTPCard({
},
onClick: onRename,
}),
!isEditInProgress ?
Button({
label: content.deleteButton.label,
style: {
margin: "5px",
backgroundColor: colors.alert,
color: colors.text,
},
onClick: onDelete,
}): null,
!isEditInProgress
? Button({
label: content.deleteButton.label,
style: {
margin: "5px",
backgroundColor: colors.alert,
color: colors.text,
},
onClick: onDelete,
})
: null,
],
);