Handle cases if the shortcuts are corrupted

This commit is contained in:
Lim Chee Aun 2023-02-19 10:27:37 +08:00
parent 34a015c36a
commit 2df67f37a3

View file

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