Check if there are shortcuts too before displaying Columns

This commit is contained in:
Lim Chee Aun 2023-02-20 00:22:10 +08:00
parent 6c63fb14b4
commit 58208a417c

View file

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