From daabd7cb8e8e7047ddf533512424d15afb632a68 Mon Sep 17 00:00:00 2001 From: Nicholas Molnar <65710+neekolas@users.noreply.github.com> Date: Fri, 23 Feb 2024 15:01:36 -0800 Subject: [PATCH] Make optional argument --- src/component-library/components/Frame/Frame.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/component-library/components/Frame/Frame.tsx b/src/component-library/components/Frame/Frame.tsx index e49106b8..bb81389f 100644 --- a/src/component-library/components/Frame/Frame.tsx +++ b/src/component-library/components/Frame/Frame.tsx @@ -8,7 +8,7 @@ type FrameProps = { buttons: FrameButton[]; handleClick: ( buttonNumber: number, - action: FrameButton["action"] | undefined, + action?: FrameButton["action"], ) => Promise; onTextInputChange: (value: string) => void; frameButtonUpdating: number;