Skip to content

Commit

Permalink
remove unneeded props
Browse files Browse the repository at this point in the history
  • Loading branch information
gapmiss committed Jul 11, 2023
1 parent b1799bd commit 68b4939
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@ import { MarkdownPostProcessor, Plugin, setIcon, PluginManifest } from 'obsidian
import { BADGE_TYPES } from './constants';

export default class BadgesPlugin extends Plugin {
plugin: Plugin;
manifest: PluginManifest;

async onload() {
async onload() {
this.registerMarkdownPostProcessor(
buildPostProcessor()
);
Expand All @@ -15,6 +13,7 @@ export default class BadgesPlugin extends Plugin {
onunload() {
console.log("Badges plugin unloaded");
}

}

export function buildPostProcessor(): MarkdownPostProcessor {
Expand Down

0 comments on commit 68b4939

Please sign in to comment.