{
if (!askingConfirmation) {
setAskingConfirmation(true);
return;
}
if (deleteMode === 'device_only') {
void onDeleteEverythingLocallyOnly();
} else if (deleteMode === 'device_and_network') {
void onDeleteEverythingAndNetworkData();
}
}}
disabled={isLoading}
/>
{
dispatch(updateDeleteAccountModal(null));
}}
disabled={isLoading}
/>