From 2bb3ef173bcc761fc2e02bff22972a9764df3caf Mon Sep 17 00:00:00 2001 From: sianida26 Date: Sat, 11 May 2024 00:53:49 +0700 Subject: [PATCH] Fix incorrect type on create action button action --- apps/frontend/src/utils/createActionButton.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/frontend/src/utils/createActionButton.tsx b/apps/frontend/src/utils/createActionButton.tsx index ae8f2a6..d2b089a 100644 --- a/apps/frontend/src/utils/createActionButton.tsx +++ b/apps/frontend/src/utils/createActionButton.tsx @@ -9,7 +9,7 @@ import React from "react"; interface Action { label: string; - action?: () => void | string; + action?: (() => void) | string; variant?: ActionIconVariant; permission?: boolean; icon: React.ReactNode;