mirror of
https://github.com/ramvignesh-b/pi-ku.git
synced 2026-05-04 08:56:52 +00:00
feat: redesign reader page and disable canvas object caching for improved rendering
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user