mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 15:17:01 +01:00
Fix Nanite Program Hub
This commit is contained in:
@@ -16,8 +16,10 @@ export const NaniteProgramHub = (props, context) => {
|
||||
const [
|
||||
selectedCategory,
|
||||
setSelectedCategory,
|
||||
] = useSharedState(context, 'category', Object.keys(programs)[0]);
|
||||
const programsInCategory = programs[selectedCategory] || [];
|
||||
] = useSharedState(context, 'category');
|
||||
const programsInCategory = programs
|
||||
&& programs[selectedCategory]
|
||||
|| [];
|
||||
return (
|
||||
<Window resizable>
|
||||
<Window.Content scrollable>
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user