fix(ui): fix events tab for mobile

This commit is contained in:
nick-delirium 2024-01-10 13:38:56 +01:00
parent 4b20a7970c
commit c0d4088120

View file

@ -55,8 +55,8 @@ function PlayerBlockHeader(props: any) {
return { label: key, value };
});
const TABS = [props.tabs.EVENTS].map((tab) => ({
text: tab,
const TABS = Object.keys(props.tabs).map((tab) => ({
text: props.tabs[tab],
key: tab,
}));