feat: redesign reader page and disable canvas object caching for improved rendering

This commit is contained in:
ramvignesh-b
2026-04-15 19:20:18 +05:30
parent 8f6fd6a529
commit e8dac65468
4 changed files with 78 additions and 40 deletions
+3 -1
View File
@@ -5,15 +5,17 @@ interface LogModalContent {
message: string;
log: string;
onClose: () => void;
isOpen: boolean;
}
export const LogModal = ({
isOpen,
message,
log,
onClose,
status,
}: LogModalContent) => {
return status === "RESET" ? (
return status === "RESET" || !isOpen ? (
<div></div>
) : (
<div className="modal modal-open modal-bottom sm:modal-middle bg-base-100/20 backdrop-blur-md z-100">