- 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
25 lines
569 B
JavaScript
25 lines
569 B
JavaScript
import {
|
|
require_react
|
|
} from "./chunk-QCHXOAYK.js";
|
|
import {
|
|
__toESM
|
|
} from "./chunk-WOOG5QLI.js";
|
|
|
|
// node_modules/@radix-ui/react-use-previous/dist/index.mjs
|
|
var React = __toESM(require_react(), 1);
|
|
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=chunk-43G6IMPT.js.map
|