From 54c93cef4185947ed03d9c17cd30c1ba8cbeae25 Mon Sep 17 00:00:00 2001 From: skjnldsv Date: Tue, 2 Dec 2025 10:15:05 +0100 Subject: [PATCH] fix(actions): only pass a single node to renderInline Signed-off-by: skjnldsv --- lib/actions/fileAction.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/actions/fileAction.ts b/lib/actions/fileAction.ts index 2ce445b1..5e85169e 100644 --- a/lib/actions/fileAction.ts +++ b/lib/actions/fileAction.ts @@ -102,12 +102,12 @@ export interface FileActionData { /** * If true, the renderInline function will be called */ - inline?: (context: ActionContext) => boolean, + inline?: (context: ActionContextSingle) => boolean, /** * If defined, the returned html element will be * appended before the actions menu. */ - renderInline?: (context: ActionContext) => Promise, + renderInline?: (context: ActionContextSingle) => Promise, } export class FileAction {