Skip to content

Commit

Permalink
Revert setting a default icon
Browse files Browse the repository at this point in the history
  • Loading branch information
aptkingston committed Feb 13, 2025
1 parent 5428c78 commit 3ae12a6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/builder/src/stores/builder/components.ts
Original file line number Diff line number Diff line change
Expand Up @@ -311,8 +311,6 @@ export class ComponentStore extends BudiStore<ComponentState> {
component[setting.key] = fieldOptions[0]
component.label = fieldOptions[0]
}
} else if (setting.type === "icon") {
component[setting.key] = "ri-star-fill"
} else if (useDefaultValues && setting.defaultValue !== undefined) {
// Use default value where required
component[setting.key] = setting.defaultValue
Expand Down

0 comments on commit 3ae12a6

Please sign in to comment.