24 lines
710 B
TypeScript
24 lines
710 B
TypeScript
/*
|
|
* File: useAIOverlay.ts
|
|
* Description: Custom hook for AI overlay logic (stub)
|
|
* Design & Developed by Tech4Biz Solutions
|
|
* Copyright (c) Spurrin Innovations. All rights reserved.
|
|
*/
|
|
|
|
import { useSelector } from 'react-redux';
|
|
import { selectAIFindings, selectAIConfidence } from '../redux/caseReviewSelectors';
|
|
|
|
/**
|
|
* useAIOverlay - returns AI findings and confidence (stub)
|
|
*/
|
|
export const useAIOverlay = () => {
|
|
const findings = useSelector(selectAIFindings);
|
|
const confidence = useSelector(selectAIConfidence);
|
|
return { findings, confidence };
|
|
};
|
|
|
|
/*
|
|
* End of File: useAIOverlay.ts
|
|
* Design & Developed by Tech4Biz Solutions
|
|
* Copyright (c) Spurrin Innovations. All rights reserved.
|
|
*/
|