chore: Fix various warnings

This commit is contained in:
Tom Moor
2024-02-05 21:59:14 -05:00
parent 69665a42d7
commit d4d226e011
3 changed files with 10 additions and 4 deletions

View File

@@ -119,7 +119,7 @@ export function actionToKBar(
}
export async function performAction(action: Action, context: ActionContext) {
return action.perform?.(context).catch((err: Error) => {
return action.perform?.(context)?.catch((err: Error) => {
toast.error(err.message);
});
}