From c03f39b10ca0355fcaa6dd1239a7a4c60a7f4ebc Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Thu, 26 Oct 2023 02:18:39 +0800 Subject: [PATCH] Fix media alt modal not esc-able --- src/components/media-alt-modal.jsx | 2 +- src/components/modals.jsx | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/components/media-alt-modal.jsx b/src/components/media-alt-modal.jsx index aa2cc042..a45a9c83 100644 --- a/src/components/media-alt-modal.jsx +++ b/src/components/media-alt-modal.jsx @@ -24,7 +24,7 @@ export default function MediaAltModal({ alt, lang, onClose }) { ); return ( -
+
{!!onClose && (