add label to configItem, use that in UI

This commit is contained in:
Pulkit Sharma
2025-04-09 01:24:23 +05:30
parent cf20fe9142
commit 9c6663c4c2
5 changed files with 25 additions and 12 deletions

View File

@@ -105,8 +105,7 @@ const App = () => {
Object.entries(mergedConfig).forEach(([key, value]) => {
mergedConfig[key as keyof InspectorConfig] = {
...value,
description:
DEFAULT_INSPECTOR_CONFIG[key as keyof InspectorConfig].description,
label: DEFAULT_INSPECTOR_CONFIG[key as keyof InspectorConfig].label,
};
});