Handle cases if the shortcuts are corrupted
This commit is contained in:
parent
34a015c36a
commit
2df67f37a3
1 changed files with 1 additions and 0 deletions
|
@ -27,6 +27,7 @@ function Columns() {
|
||||||
favourites: Favourites,
|
favourites: Favourites,
|
||||||
hashtag: Hashtag,
|
hashtag: Hashtag,
|
||||||
}[type];
|
}[type];
|
||||||
|
if (!Component) return null;
|
||||||
return <Component {...params} />;
|
return <Component {...params} />;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue