From 1b698e928d27769dae2857a77a5b7c423c02563c Mon Sep 17 00:00:00 2001 From: Dan Dong Date: Mon, 19 Aug 2024 16:26:31 -0700 Subject: [PATCH] Fixed error Signed-off-by: Dan Dong --- .../components/helpers/custom_modals/custom_input_modal.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/components/notebooks/components/helpers/custom_modals/custom_input_modal.tsx b/public/components/notebooks/components/helpers/custom_modals/custom_input_modal.tsx index a3fdaea88..0b8a25b87 100644 --- a/public/components/notebooks/components/helpers/custom_modals/custom_input_modal.tsx +++ b/public/components/notebooks/components/helpers/custom_modals/custom_input_modal.tsx @@ -31,7 +31,7 @@ import { * btn2txt - string as content to fill "confirm button" * openNoteName - Default input value for the field */ -interface CustomInputModalProps { +type CustomInputModalProps = { runModal: (value: string) => void; closeModal: ( event?: React.KeyboardEvent | React.MouseEvent @@ -42,7 +42,7 @@ interface CustomInputModalProps { btn2txt: string; openNoteName: string; helpText: string; -} +}; export const CustomInputModal = (props: CustomInputModalProps) => { const {