Handle cases if the shortcuts are corrupted

pull/54/head
Lim Chee Aun 2023-02-19 10:27:37 +08:00
rodzic 34a015c36a
commit 2df67f37a3
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -27,6 +27,7 @@ function Columns() {
favourites: Favourites,
hashtag: Hashtag,
}[type];
if (!Component) return null;
return <Component {...params} />;
});