diff --git a/src/components/organisms/BrowserWindow.tsx b/src/components/organisms/BrowserWindow.tsx index 913f9c53..10b11179 100644 --- a/src/components/organisms/BrowserWindow.tsx +++ b/src/components/organisms/BrowserWindow.tsx @@ -248,6 +248,18 @@ export const BrowserWindow = () => { setShowAttributeModal(false); }; + useEffect(() => { + const handleStartPaginationSelection = () => { + setIsSelectingPagination(true); + }; + + socket?.on('startPaginationSelection', handleStartPaginationSelection); + + return () => { + socket?.off('startPaginationSelection', handleStartPaginationSelection); + }; + }, [socket]); + return (