From 7f63f29f43c65b9479da70eb35161e00fdeb3918 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Mon, 23 Sep 2024 17:28:00 +0530 Subject: [PATCH] feat: define tagName & innerText in decision modal --- src/components/molecules/InterpretationButtons.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/molecules/InterpretationButtons.tsx b/src/components/molecules/InterpretationButtons.tsx index 41196504..467f5cf9 100644 --- a/src/components/molecules/InterpretationButtons.tsx +++ b/src/components/molecules/InterpretationButtons.tsx @@ -28,9 +28,11 @@ export const InterpretationButtons = ({ enableStepping }: InterpretationButtonsP pair: WhereWhatPair | null, actionType: string, selector: string, + tagName: string, + innerText: string, action: string, open: boolean - }>({ pair: null, actionType: '', selector: '', action: '', open: false }); + }>({ pair: null, actionType: '', selector: '', action: '', tagName: '', innerText: '', open: false }); const { socket } = useSocketStore(); const { notify } = useGlobalInfoStore();