From 020b5f4d0a6469236742e361a9f6e1443cc73cf4 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Wed, 31 Jul 2024 04:47:38 +0530 Subject: [PATCH] fix: set action to scrapeSchema --- src/components/organisms/RightSidePanel.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/organisms/RightSidePanel.tsx b/src/components/organisms/RightSidePanel.tsx index e0a6167d..167bc068 100644 --- a/src/components/organisms/RightSidePanel.tsx +++ b/src/components/organisms/RightSidePanel.tsx @@ -86,7 +86,7 @@ export const RightSidePanel = ({ pairForEdit }: RightSidePanelProps) => { const stopCaptureAndEmitSettings = useCallback(() => { stopGetText(); const settings = createSettingsObject(); - socket?.emit('action', { action: 'settings', settings }); + socket?.emit('action', { action: 'scrapeSchema', settings }); }, [stopGetText, createSettingsObject, socket]); return (