Skip to content

Commit 136fd84

Browse files
committed
fix: remove unused event parameter
1 parent b55f262 commit 136fd84

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default class ThumbnailPlugin extends Plugin {
1313
async onload() {
1414
await this.loadSettings();
1515

16-
this.addRibbonIcon("document", "Create thumbnail", async (evt: MouseEvent) => {
16+
this.addRibbonIcon("document", "Create thumbnail", async () => {
1717
await generate(this.app, this, this.app.workspace.getActiveFile() as TFile);
1818
});
1919

0 commit comments

Comments
 (0)