From f7b9911f71cb330c21b595e54daae9d110c86098 Mon Sep 17 00:00:00 2001 From: Thibaut Girka Date: Tue, 15 May 2018 10:39:12 +0200 Subject: [PATCH] Fix modals testing for props.noEsc (fixes #482) --- .../flavours/glitch/features/ui/components/modal_root.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/flavours/glitch/features/ui/components/modal_root.js b/app/javascript/flavours/glitch/features/ui/components/modal_root.js index cdb6dc9d0a..7e9980ef78 100644 --- a/app/javascript/flavours/glitch/features/ui/components/modal_root.js +++ b/app/javascript/flavours/glitch/features/ui/components/modal_root.js @@ -59,7 +59,7 @@ export default class ModalRoot extends React.PureComponent { const visible = !!type; return ( - + {visible && ( {(SpecificComponent) => }