Check if there are shortcuts too before displaying Columns

pull/62/head
Lim Chee Aun 2023-02-20 00:22:10 +08:00
rodzic 6c63fb14b4
commit 58208a417c
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -28,7 +28,8 @@ function Home() {
return (
<>
{snapStates.settings.shortcutsColumnsMode ? (
{snapStates.settings.shortcutsColumnsMode &&
!!snapStates.shortcuts?.length ? (
<Columns />
) : (
<Following