chore(web): remove unnused property (#10820)

This commit is contained in:
Jason Rasmussen
2024-07-03 16:41:17 -04:00
committed by GitHub
parent 4a481acca6
commit 04f0ac1aad
14 changed files with 3 additions and 26 deletions

View File

@@ -16,7 +16,6 @@
const handleDelete = async (device: SessionResponseDto) => {
const isConfirmed = await dialogController.show({
id: 'log-out-device',
prompt: $t('logout_this_device_confirmation'),
});
@@ -35,11 +34,7 @@
};
const handleDeleteAll = async () => {
const isConfirmed = await dialogController.show({
id: 'log-out-all-devices',
prompt: $t('logout_all_device_confirmation'),
});
const isConfirmed = await dialogController.show({ prompt: $t('logout_all_device_confirmation') });
if (!isConfirmed) {
return;
}

View File

@@ -78,7 +78,6 @@
const handleRemovePartner = async (partner: PartnerResponseDto) => {
const isConfirmed = await dialogController.show({
id: 'remove-partner',
title: $t('stop_photo_sharing'),
prompt: $t('stop_photo_sharing_description', { values: { partner: partner.name } }),
});

View File

@@ -60,11 +60,7 @@
};
const handleDelete = async (key: ApiKeyResponseDto) => {
const isConfirmed = await dialogController.show({
id: 'delete-api-key',
prompt: $t('delete_api_key_prompt'),
});
const isConfirmed = await dialogController.show({ prompt: $t('delete_api_key_prompt') });
if (!isConfirmed) {
return;
}