feat: redesign Exams List page to show submitted custom exams
- 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
This commit is contained in:
16
node_modules/@radix-ui/react-use-previous/dist/index.mjs
generated
vendored
Normal file
16
node_modules/@radix-ui/react-use-previous/dist/index.mjs
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
// packages/react/use-previous/src/use-previous.tsx
|
||||
import * as React from "react";
|
||||
function usePrevious(value) {
|
||||
const ref = React.useRef({ value, previous: value });
|
||||
return React.useMemo(() => {
|
||||
if (ref.current.value !== value) {
|
||||
ref.current.previous = ref.current.value;
|
||||
ref.current.value = value;
|
||||
}
|
||||
return ref.current.previous;
|
||||
}, [value]);
|
||||
}
|
||||
export {
|
||||
usePrevious
|
||||
};
|
||||
//# sourceMappingURL=index.mjs.map
|
||||
Reference in New Issue
Block a user