You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-24 23:26:50 +02:00
Added no-floating-promises eslint rule
This commit is contained in:
@ -52,8 +52,8 @@ export default class ToolbarButtonUtils {
|
||||
tooltip: this.service.label(commandName),
|
||||
iconName: command.declaration.iconName,
|
||||
enabled: newEnabled,
|
||||
onClick: async () => {
|
||||
this.service.execute(commandName);
|
||||
onClick: () => {
|
||||
void this.service.execute(commandName);
|
||||
},
|
||||
title: newTitle,
|
||||
};
|
||||
|
Reference in New Issue
Block a user