mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-10 02:54:15 +00:00
support unknown category
This commit is contained in:
parent
e9ca042658
commit
7d7e5d98c4
@ -71,7 +71,7 @@ const LivestreamsCategoriesSelector = (props) => {
|
||||
>
|
||||
{
|
||||
categories.map((category) => {
|
||||
return <antd.Select.Option value={category.key}>{category.label}</antd.Select.Option>
|
||||
return <antd.Select.Option value={category?.key ?? "unknown"}>{category?.label ?? "No category"}</antd.Select.Option>
|
||||
})
|
||||
}
|
||||
</antd.Select>
|
||||
|
Loading…
x
Reference in New Issue
Block a user