diff --git a/src/components/compose.jsx b/src/components/compose.jsx index 73cf046b..9d82d6a5 100644 --- a/src/components/compose.jsx +++ b/src/components/compose.jsx @@ -289,6 +289,12 @@ function Compose({ return true; } + // check if loading + if (uiState !== 'loading') { + console.log('canClose', { uiState }); + return true; + } + console.log('canClose', { value, hasMediaAttachments, @@ -297,6 +303,7 @@ function Compose({ isSelf, hasOnlyAcct, sameWithSource, + uiState, }); return false;