Remove unused `onunload' method in main.ts of khoj obsidian plugin

This commit is contained in:
Debanjum Singh Solanky 2023-01-17 23:46:38 -03:00
parent 0bed410712
commit 657e455785

View file

@ -44,9 +44,6 @@ export default class Khoj extends Plugin {
this.addSettingTab(new KhojSettingTab(this.app, this)); this.addSettingTab(new KhojSettingTab(this.app, this));
} }
onunload() {
}
async loadSettings() { async loadSettings() {
// Load khoj obsidian plugin settings // Load khoj obsidian plugin settings
this.settings = Object.assign({}, DEFAULT_SETTINGS, await this.loadData()); this.settings = Object.assign({}, DEFAULT_SETTINGS, await this.loadData());