Fixed bug at frontend
This commit is contained in:
parent
4feec62cb5
commit
0ae6596dbd
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ export default function IOView({ children, open, setOpen }): JSX.Element {
|
|||
}
|
||||
|
||||
function UpdateAccordion() {
|
||||
return categories[selectedCategory].name === "Inputs" ? inputs : outputs;
|
||||
return (categories[selectedCategory]?.name ?? "Inputs") === "Inputs" ? inputs : outputs;
|
||||
}
|
||||
|
||||
return (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue