Chore: Add code formatting conventions as eslint rules (#5158)
* Add code formatting conventions as eslint rules * Improve formatting in addQuickReply
This commit is contained in:
@@ -455,7 +455,6 @@ async function changeName(handle, name, callback) {
|
||||
|
||||
toastr.success('Name changed successfully', 'Name Changed');
|
||||
callback();
|
||||
|
||||
} catch (error) {
|
||||
console.error('Error changing name:', error);
|
||||
}
|
||||
@@ -495,7 +494,6 @@ async function restoreSnapshot(name, callback) {
|
||||
} catch (error) {
|
||||
console.error('Error restoring snapshot:', error);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -601,7 +599,6 @@ async function viewSettingsSnapshots() {
|
||||
const content = await loadSnapshotContent(snapshot.name);
|
||||
contentBlock.val(content);
|
||||
}
|
||||
|
||||
});
|
||||
template.find('.snapshotList').append(snapshotBlock);
|
||||
}
|
||||
@@ -667,7 +664,6 @@ async function resetEverything(callback) {
|
||||
} catch (error) {
|
||||
console.error('Error resetting everything:', error);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
async function openUserProfile() {
|
||||
|
||||
Reference in New Issue
Block a user