- Added Custom Exams tab showing all exams from Generation page - Displays title, module badges, duration, and status - Added Create Exam button - Kept Exam Sessions tab for institutional sessions - Search filters across exams Made-with: Cursor
8 lines
297 B
TypeScript
8 lines
297 B
TypeScript
/**
|
|
* A custom hook that converts a callback to a ref to avoid triggering re-renders when passed as a
|
|
* prop or avoid re-executing effects when passed as a dependency
|
|
*/
|
|
declare function useCallbackRef<T extends (...args: any[]) => any>(callback: T | undefined): T;
|
|
|
|
export { useCallbackRef };
|