From 563a1ffd9b99accb93200c104569f87d0860019a Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Wed, 1 Mar 2023 22:54:55 +0800 Subject: [PATCH] Very weird fix, prevent Shortcuts from being unmounted MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Somehow it got unmounted and "rearrange" whenever routes change. Weird….. --- src/app.jsx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/app.jsx b/src/app.jsx index 09c1b649..ebbce5dd 100644 --- a/src/app.jsx +++ b/src/app.jsx @@ -310,10 +310,12 @@ function App() { } /> - {!snapStates.settings.shortcutsColumnsMode && - snapStates.settings.shortcutsViewMode !== 'multi-column' && ( - - )} +
+ {!snapStates.settings.shortcutsColumnsMode && + snapStates.settings.shortcutsViewMode !== 'multi-column' && ( + + )} +
{!!snapStates.showCompose && (