From 58208a417c46f0ab1774d26ac070a82b725ea70d Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Mon, 20 Feb 2023 00:22:10 +0800 Subject: [PATCH] Check if there are shortcuts too before displaying Columns --- src/pages/home.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/home.jsx b/src/pages/home.jsx index 06283d7f..3b1aea92 100644 --- a/src/pages/home.jsx +++ b/src/pages/home.jsx @@ -28,7 +28,8 @@ function Home() { return ( <> - {snapStates.settings.shortcutsColumnsMode ? ( + {snapStates.settings.shortcutsColumnsMode && + !!snapStates.shortcuts?.length ? ( ) : (