refactor: improve code readability and maintainability in SDK options and icon picker

- Reformatted the fullAccess and chat tool presets in sdk-options.ts for better readability.
- Simplified the return statement in icon-picker.tsx for cleaner code.
- Removed the board-background-persistence.spec.ts test file as it is no longer needed.
This commit is contained in:
webdevcody
2026-01-13 14:56:44 -05:00
parent a300466ca9
commit 74ee30d5db
3 changed files with 23 additions and 436 deletions

View File

@@ -79,9 +79,7 @@ export function IconPicker({ selectedIcon, onSelectIcon }: IconPickerProps) {
<div className="flex items-center gap-2 flex-1">
{(() => {
const IconComponent = getIconComponent(selectedIcon);
return IconComponent ? (
<IconComponent className="w-5 h-5 text-brand-500" />
) : null;
return IconComponent ? <IconComponent className="w-5 h-5 text-brand-500" /> : null;
})()}
<span className="text-sm font-medium">{selectedIcon}</span>
</div>