We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b55f262 commit 136fd84Copy full SHA for 136fd84
1 file changed
src/main.ts
@@ -13,7 +13,7 @@ export default class ThumbnailPlugin extends Plugin {
13
async onload() {
14
await this.loadSettings();
15
16
- this.addRibbonIcon("document", "Create thumbnail", async (evt: MouseEvent) => {
+ this.addRibbonIcon("document", "Create thumbnail", async () => {
17
await generate(this.app, this, this.app.workspace.getActiveFile() as TFile);
18
});
19
0 commit comments