File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- import React , { useCallback , useEffect } from 'react' ;
1+ import React , { useCallback , useEffect , useRef } from 'react' ;
22import { useParams , useNavigate } from 'react-router-dom' ;
33import { Spinner , Text } from '@fluentui/react-components' ;
44
@@ -87,6 +87,7 @@ const PlanPage: React.FC = () => {
8787 const dispatch = useAppDispatch ( ) ;
8888 const { showToast, dismissToast } = useInlineToaster ( ) ;
8989 const { messagesContainerRef, scrollToBottom } = useAutoScroll ( ) ;
90+ const finalResultRef = useRef < HTMLDivElement > ( null ) ;
9091 const { loadPlanData, resetPlanVariables } = usePlanActions ( ) ;
9192
9293 /* ── Redux Selectors (granular — Point 10) ──────────────── */
@@ -370,6 +371,7 @@ const PlanPage: React.FC = () => {
370371 processingApproval = { processingApproval }
371372 handleApprovePlan = { handleApprovePlan }
372373 handleRejectPlan = { handleRejectPlan }
374+ finalResultRef = { finalResultRef }
373375 />
374376 </ >
375377 ) }
You can’t perform that action at this time.
0 commit comments